LP#1435938: Add link to clear cache from staff client
authorThomas Berezansky <tsbere@mvlc.org>
Tue, 24 Mar 2015 14:37:41 +0000 (10:37 -0400)
committerBen Shum <bshum@biblio.org>
Mon, 17 Aug 2015 16:26:57 +0000 (12:26 -0400)
New functionality isn't all that useful without an access point, after all.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/record/summary.tt2

index 2accfff..618a887 100644 (file)
                      [% l('Permalink') %]
                 </a>
             </div>
+            [%- IF ctx.is_staff %]
+            <div class="rdetail_aux_utils clear_addedcontent_cache">
+                <a href="[% ctx.media_prefix %]/opac/extras/ac/clearcache/all/r/[% ctx.bre_id | uri %]" class="no-dec" target="_blank">
+                     [% l('Clear AddedContent Cache') %]
+                </a>
+            </div>
+            [%- END %]
         </div>
     </div>
 </div>