From: <de...@de...> - 2013-02-27 08:14:25
|
Author: PeterThoeny Date: 2013-02-27 02:13:54 -0600 (Wed, 27 Feb 2013) New Revision: 25217 Trac url: http://develop.twiki.org/trac/changeset/25217 Modified: twiki/branches/TWikiRelease05x01/core/templates/viewtopicactionbuttons.tmpl Log: Item7143: Show "Watch" topic action link at bottom in case WatchlistPlugin is installed and enabled Modified: twiki/branches/TWikiRelease05x01/core/templates/viewtopicactionbuttons.tmpl =================================================================== --- twiki/branches/TWikiRelease05x01/core/templates/viewtopicactionbuttons.tmpl 2013-02-27 08:09:32 UTC (rev 25216) +++ twiki/branches/TWikiRelease05x01/core/templates/viewtopicactionbuttons.tmpl 2013-02-27 08:13:54 UTC (rev 25217) @@ -1,4 +1,4 @@ -%TMPL:DEF{"topicactionbuttons"}%%TMPL:P{"action_activatable_edit_or_create"}%%TMPL:P{"action_activatable_attach"}%%TMPL:P{"action_printable"}%%TMPL:P{"action_revisions"}%%TMPL:P{"action_backlinks_simple"}%%TMPL:P{"action_raw_or_view"}%%TMPL:P{"action_activatable_raw_edit"}%%TMPL:P{"activatable_more"}%%TMPL:END% +%TMPL:DEF{"topicactionbuttons"}%%TMPL:P{"action_activatable_edit_or_create"}%%TMPL:P{"action_activatable_attach"}%%TMPL:P{"action_watch"}%%TMPL:P{"action_printable"}%%TMPL:P{"action_revisions"}%%TMPL:P{"action_backlinks_simple"}%%TMPL:P{"action_raw_or_view"}%%TMPL:P{"action_activatable_raw_edit"}%%TMPL:P{"activatable_more"}%%TMPL:END% %TMPL:DEF{"create_topic_link"}%<span><a href='%SCRIPTURL{"edit"}%/%BASEWEB%/%BASETOPIC%?t=%GMTIME{"$epoch"}%%TMPL:P{"url_param_editaction"}%%IF{"context TinyMCEPluginAvailable" then=";nowysiwyg=%IF{ "$ EDITMETHOD='wysiwyg'" then="0" else="1" }%"}%' rel='nofollow' %MAKETEXT{"title='Create new topic' accesskey='c'>&Create"}%</a></span>%TMPL:END% @@ -18,6 +18,10 @@ %TMPL:DEF{"more_link"}%<span><a href='%SCRIPTURLPATH{"oops"}%/%BASEWEB%/%BASETOPIC%?template=oopsmore¶m1=%MAXREV%¶m2=%CURRREV%' rel='nofollow' %MAKETEXT{"title='Delete or rename this topic; set parent topic; view and compare revisions' accesskey='m'>&More topic actions"}%</a></span>%TMPL:END% +%TMPL:DEF{"action_watch"}%%TMPL:P{context="WatchlistPluginEnabled" then="watch_link" else=""}%%TMPL:END% + +%TMPL:DEF{"watch_link"}%<span>%IF{ "context authenticated" then="$percntWATCHLIST{showlink}$percnt" else="<strike>Watch</strike>" }%</span>%TMPL:P{"sep"}%%TMPL:END% + %TMPL:DEF{"action_printable"}%%TMPL:P{"printable"}%%TMPL:P{"sep"}%%TMPL:END% %TMPL:DEF{"printable"}%<span><a href='%SCRIPTURLPATH{"view"}%/%BASEWEB%/%BASETOPIC%?cover=print%ENCODE{%QUERYPARAMSTRING%}%%REVARG%' rel='nofollow' %MAKETEXT{"title='Printable version of this topic' accesskey='p'>&Print version"}%</a></span>%TMPL:END% |