LP#1435938: Add link to clear cache from staff client
[working/Evergreen.git] / 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>