You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2014/09/12 12:29:40 UTC

[26/28] git commit: [#4905] ticket:634 removed unused pieces of code

[#4905] ticket:634 removed unused pieces of code


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/0e039301
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/0e039301
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/0e039301

Branch: refs/heads/je/42cc_4905
Commit: 0e03930121837789ec13b8c6a3168f54453cd794
Parents: 6e8af1d
Author: discort <le...@bk.ru>
Authored: Mon Aug 25 16:31:28 2014 +0300
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Fri Sep 12 09:22:20 2014 +0300

----------------------------------------------------------------------
 ForgeWiki/forgewiki/templates/wiki/page_view.html | 2 +-
 ForgeWiki/forgewiki/wiki_main.py                  | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/0e039301/ForgeWiki/forgewiki/templates/wiki/page_view.html
----------------------------------------------------------------------
diff --git a/ForgeWiki/forgewiki/templates/wiki/page_view.html b/ForgeWiki/forgewiki/templates/wiki/page_view.html
index 61407c4..4e19b2f 100644
--- a/ForgeWiki/forgewiki/templates/wiki/page_view.html
+++ b/ForgeWiki/forgewiki/templates/wiki/page_view.html
@@ -62,7 +62,7 @@
 
   {% endif %}
   {% if c.user and c.user != c.user.anonymous() %}
-    {{c.subscribe_form.display(value=page_subscribed, tool_subscribed=tool_subscribed, action='subscribe', style='icon')}}
+    {{c.subscribe_form.display(value=page_subscribed, action='subscribe', style='icon')}}
     {{c.wiki_subscribe_form.display(value=subscribed, action='wiki_subscribe', style='icon')}}
   {% endif %}
 	<a href="feed" title="RSS"><b data-icon="{{g.icons['feed'].char}}" class="ico {{g.icons['feed'].css}}" title="Feed"></b></a>

http://git-wip-us.apache.org/repos/asf/allura/blob/0e039301/ForgeWiki/forgewiki/wiki_main.py
----------------------------------------------------------------------
diff --git a/ForgeWiki/forgewiki/wiki_main.py b/ForgeWiki/forgewiki/wiki_main.py
index c6abf88..615af76 100644
--- a/ForgeWiki/forgewiki/wiki_main.py
+++ b/ForgeWiki/forgewiki/wiki_main.py
@@ -521,7 +521,6 @@ class PageController(BaseController, FeedController):
         return dict(
             page=page,
             cur=cur, prev=prev, next=next,
-            tool_subscribed=tool_subscribed,
             page_subscribed=subscribed,
             subscribed=M.Mailbox.subscribed(),
             hide_left_bar=hide_left_bar, show_meta=c.app.show_right_bar,