TPAC: Remove unused HTML from bookbags page
authorDan Scott <dscott@laurentian.ca>
Thu, 20 Oct 2011 02:29:28 +0000 (22:29 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 20 Oct 2011 02:29:28 +0000 (22:29 -0400)
A number of "hide_me" nodes were being kept on the page, only one of
which is actually referenced anywhere (to be displayed as help for
sharing). The rest are not invoked anywhere, so we delete them to reduce
the clutter and page size.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/myopac/lists.tt2

index 67ce963..c298acb 100644 (file)
@@ -4,22 +4,6 @@
     myopac_page = "lists"  %]
 <div id='myopac_bookbag_div' style="padding:5px;">
 
-    <!-- <div class="header_middle">
-        <span id="acct_holds_header" style="float:left;">[% l('My Lists') %]</span>
-        <span style="float:right;"><a class="hide_me" href="#">[% l('Export List') %]</a></span>
-    </div>
-    <div style="float:right;width:85px;">
-        <div style="position:absolute">
-            <div style="position:relative;top:13px;">
-                <a href="#" style="position:relative;top:-3px;left:-5px;"><img alt="[% l('Saving Help') %]" 
-                    src="[% ctx.media_prefix %]/images/question-mark.png" /></a>
-                <a href="#"><img alt="[% l('Save') %]" src="[% ctx.media_prefix %]/images/save-btn.png"/></a>
-            </div>
-        </div>
-    </div> -->
-    <div id="temp_wrapper">
-
-
     <!-- new list creation -->
     <form action="[% ctx.opac_root %]/myopac/list/update" method="POST" id="create_form">
         <h1>[% l('Create new list') %]</h1><a name="createnewlist"></a>
     </div>
     [% END %]
 
-    <div id='myopac_delete_bookbag_warn' class='hide_me'>
-        [% l("This will remove the selected bookbag and all items contained within the bookbag.  Are you sure you wish to continue?") %]
-    </div>
-    <div style='text-align: center; font-weight: bold;' 
-        class='hide_me' id='myopac_bookbags_none'>[% l("You have not created any bookbags") %]</div>
-    <div style='width: 99%; text-align: center'>
-        <b id='myopac_bookbag_items_name'> </b>
-    </div>
     <span id='bb_publish_text' class='hide_me'>
 [% |l %]Sharing a Bookbag means that the contents 
 of the Bookbag will be visible to others.  
 To see the public view of a shared Bookbag, 
 click on the Bookbag's name in the Bookbag list.[% END %]
     </span>
-    <span id='myopac_remove_bb_item_confirm' class='hide_me'>
-        [% l("Are you sure you wish to remove this bookbag item?") %]
-    </span>
-    <span id='myopac_make_published_confirm' class='hide_me'>
-        [% l("Sharing this bookbag will allow the contents of the bookbag to be seen by others.  Are you sure you wish to share this bookbag?") %]
-    </span>
-    <span id='myopac_make_unpublished_confirm' class='hide_me'>
-        [% l("Are you sure you wish to hide this bookbag?") %]
-    </span>
-    <span id='myopac_bb_update_success' class='hide_me'>
-        [% l("The Bookbag was successfully updated.") %]
-    </span>
-    <span id='bb_create_warning' class='hide_me'>
-        [% l("Warning: Adding items to a bookbag creates a link between you and the items in the database.  The contents of the bookbag are NOT publicly viewable unless the bookbag is shared. However, if you prefer not to have any link between your patron record and a particular item or items, we suggest that you do not place said items in a bookbag or that you avoid using bookbags all together.  Thank you.") %]
-    </span>
-    <span id='myopac_bb_what_are' class='hide_me'>
-        [% l("Bookbags are...") %]
-    </span>
-    <span class='hide_me' id='bb_update_success'>
-        [% l("Bookbag successfully updated") %]
-    </span>
-
 </div>
 [% END %]