Markup corrections and other minor changes.

- Clarifying error message
- Hiding batch action buttons when batch is empty

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Owen Leonard 2009-09-25 09:15:30 -05:00 committed by Galen Charlton
parent 2dd1b5be90
commit c5fa9f5b79
2 changed files with 8 additions and 8 deletions

View file

@ -169,11 +169,11 @@
//]]>
</script>
<ul class="toolbar">
<li id="additemsc"><a id="additems" href="#">Add Item(s)</a></li>
<li id="additemsc"><a id="additems" href="#">Add Item(s)</a></li><!-- TMPL_IF NAME="table_loop" -->
<li id="removeitemsc"><a id="removeitems" href="#">Remove Item(s)</a></li>
<li id="deletebatchc"><a id="deletebatch" href="#">Delete Batch</a></li>
<li id="deduplicatec"><a id="deduplicate" href="#">Remove Duplicates</a></li>
<li id="exportitemsc"><a id="exportitems" href="#">Export Item(s)</a></li>
<li id="exportbatchc"><a id="exportbatch" href="#">Export Batch</a></li>
<li id="exportbatchc"><a id="exportbatch" href="#">Export Batch</a></li><!-- /TMPL_IF -->
</ul>
</div>

View file

@ -47,20 +47,20 @@
</table>
</form>
<!-- TMPL_ELSE -->
<h2>There are no items in this batch yet</h2>
<div class="hint"><h3>Use the toolbar above to add items.</h3></div>
<div class="dialog message"><h4>There are no items in Batch <!-- TMPL_VAR NAME="batch_id" --> yet</h4>
<p>Use the toolbar above to add items.</p></div>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_IF NAME="err" -->
<div class="yui-u">
<div class="alert">
<strong>WARNING: An error was encountered and <!-- TMPL_VAR NAME="errstr" --> Please have your system administrator check the error log for details.</strong>
<div class="dialog alert">
<strong>WARNING:</strong> An error was encountered and <!-- TMPL_VAR NAME="errstr" --> Please have your system administrator check the error log for details.
</div>
</div>
<!-- TMPL_ELSIF NAME="duplicate_message" -->
<div class="yui-u">
<div class="dialog">
<strong><!-- TMPL_VAR NAME="duplicate_count" --> duplicate item(s) found and removed from batch <!-- TMPL_VAR NAME="batch_id" -->.</strong>
<div class="dialog message">
<strong><!-- TMPL_VAR NAME="duplicate_count" --> duplicate item(s) found</strong> and removed from batch <!-- TMPL_VAR NAME="batch_id" -->.
</div>
</div>
<!-- /TMPL_IF -->