Permalink
Browse files

Item11549: adding caching info about the current topic and a link to …

…render a fresh one manually

git-svn-id: http://svn.foswiki.org/trunk@14067 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information...
MichaelDaum MichaelDaum
MichaelDaum authored and MichaelDaum committed Feb 23, 2012
1 parent 9f920e2 commit b71665693f694d755f043b987f17f11c578fb9af
Showing with 8 additions and 1 deletion.
  1. +8 −1 PatternSkin/templates/view.pattern.tmpl
@@ -67,7 +67,14 @@
}%%TMPL:DEF{"printaction"}%%TMPL:P{"activatable_printable"}%%TMPL:END%%{
---------------------------------------------------
}%%TMPL:DEF{"footernote"}%%TMPL:P{"topicinfo"}%%TMPL:END%
%TMPL:DEF{"topicinfo"}%<div class="patternInfo"><div class="patternRevInfo">%MAKETEXT{"Topic revision:"}% %REVINFO%</div></div>%TMPL:END%%{
%TMPL:DEF{"topicinfo"}%<div class="patternInfo"><span class="patternRevInfo">%MAKETEXT{"Topic revision:"}% %REVINFO%</span>%TMPL:P{"cacheinfo"}%</div>%TMPL:END%%{
---------------------------------------------------
}%%TMPL:DEF{"cacheinfo"}%%IF{"{Cache}{Enabled} and $CACHEABLE != 'off'"
then="<span class='patternCacheInfo'>
- %MAKETEXT{"This page was cached on [_1]." args="%SERVERTIME%"}%
%MAKETEXT{"Get a fresh version <a href='[_1]'>here</a>." args="%SCRIPTURLPATH{view}%/%BASEWEB%/%BASETOPIC%?refresh=cache"}%
</span>"
}%%TMPL:END%%{
---------------------------------------------------
}%%TMPL:DEF{"sig_textareabuttons"}%<div class="patternSigLine">%TMPL:P{"textareabuttons"}%<div class="foswikiClear"></div></div>%TMPL:END%%{
---------------------------------------------------

0 comments on commit b716656

Please sign in to comment.