allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kentontay...@apache.org
Subject allura git commit: fixup! [#8187] Allows editing of forum thread subjects
Date Mon, 26 Feb 2018 14:54:24 GMT
Repository: allura
Updated Branches:
  refs/heads/kt/8187 3f0876ca5 -> ba5c67e45


fixup! [#8187] Allows editing of forum thread subjects


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

Branch: refs/heads/kt/8187
Commit: ba5c67e45ce5a67ce1201f1e4705948a778a9e1c
Parents: 3f0876c
Author: Kenton Taylor <ktaylor@slashdotmedia.com>
Authored: Mon Feb 26 09:54:04 2018 -0500
Committer: Kenton Taylor <ktaylor@slashdotmedia.com>
Committed: Mon Feb 26 09:54:04 2018 -0500

----------------------------------------------------------------------
 .../forgediscussion/templates/discussionforums/thread.html         | 2 +-
 ForgeDiscussion/forgediscussion/widgets/forum_widgets.py           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/ba5c67e4/ForgeDiscussion/forgediscussion/templates/discussionforums/thread.html
----------------------------------------------------------------------
diff --git a/ForgeDiscussion/forgediscussion/templates/discussionforums/thread.html b/ForgeDiscussion/forgediscussion/templates/discussionforums/thread.html
index d37d044..90a2ff5 100644
--- a/ForgeDiscussion/forgediscussion/templates/discussionforums/thread.html
+++ b/ForgeDiscussion/forgediscussion/templates/discussionforums/thread.html
@@ -27,7 +27,7 @@
 
 {% block actions %}
   {% if show_moderate and h.has_access(thread, 'moderate')() %}
-    {{ g.icons['moderate'].render(id='mod_thread_link') }}
+    {{ g.icons['edit'].render(id='mod_thread_link') }}
   {% endif %}
   {# {{ g.icons['tag'].render(title='Label This', extra_css='thread_tag') }}   these labels
aren't used anywhere ... #}
   {{ g.icons['feed'].render(href='feed.rss', title='Follow This', extra_css='thread_feed0')
}}

http://git-wip-us.apache.org/repos/asf/allura/blob/ba5c67e4/ForgeDiscussion/forgediscussion/widgets/forum_widgets.py
----------------------------------------------------------------------
diff --git a/ForgeDiscussion/forgediscussion/widgets/forum_widgets.py b/ForgeDiscussion/forgediscussion/widgets/forum_widgets.py
index 0b34a63..7eb0fc5 100644
--- a/ForgeDiscussion/forgediscussion/widgets/forum_widgets.py
+++ b/ForgeDiscussion/forgediscussion/widgets/forum_widgets.py
@@ -91,7 +91,7 @@ class ModerateThread(CsrfForm):
     submit_text = 'Save Changes'
 
     class fields(ew_core.NameList):
-        subject = ew.InputField(label='Change subject:')
+        subject = ew.InputField(label='Change subject:', attrs={'style':'width: 50%'})
         discussion = _ForumSelector(label='Move to different forum:')
         flags = ew.CheckboxSet(label='Options', options=['Sticky', 'Announcement'])
 


Mime
View raw message