(web) #1160: web ui inconsistent names

This commit is contained in:
Charles Kerr 2008-08-12 01:06:16 +00:00
parent 290bb86f30
commit 0a8725a6bc
2 changed files with 5 additions and 5 deletions

View File

@ -62,12 +62,12 @@
</ul>
<div class="torrent_inspector_header">
<h1 id="torrent_inspector_name">No Torrent Selected</h1>
<h1 id="torrent_inspector_name">No Selection</h1>
<span id="torrent_inspector_size">0 B</span>
</div>
<div class="torrent_inspector_section" id="inspector_tab_info_container">
<h2>Torrent Information</h2>
<h2>Transfer Information</h2>
<label>Tracker:</label>
<div id="torrent_inspector_tracker">N/A</div>
<label>Hash:</label>
@ -189,7 +189,7 @@
<div class="dialog_top_bar"></div>
<div class="dialog_window">
<img src='images/graphics/logo.png' alt="Transmission Logo" />
<h2 class="dialog_heading">Torrent Upload</h2>
<h2 class="dialog_heading">Upload Torrent Files</h2>
<form action='#' method='post' id='torrent_upload_form'
enctype='multipart/form-data' target='torrent_upload_frame'>
<div class="dialog_message">

View File

@ -844,9 +844,9 @@ Transmission.prototype =
var total_verified = 0;
switch( torrents.length ) {
case 0: name = 'No Torrent Selected'; break;
case 0: name = 'No Selection'; break;
case 1: name = torrents[0].name(); break;
default: name = torrents.length+' Torrents Selected'; break;
default: name = torrents.length+' Transfers Selected'; break;
}
if( torrents.length == 1 )