• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

修訂6aa3f6ead504dfd550469952cc39aaf42daed1a5 (tree)
時間2012-07-11 00:56:24
作者Igor Bondarenko <jetmind2@gmai...>
CommiterIgor Bondarenko

Log Message

[#4510] Don't show edit form if not allowed to edit.

Change Summary

差異

--- a/Allura/allura/templates/widgets/post_widget.html
+++ b/Allura/allura/templates/widgets/post_widget.html
@@ -36,7 +36,7 @@
3636 {% endif %}
3737 {% endif %}
3838 </div>
39- {% if h.has_access(value.thread, 'post')() %}
39+ {% if h.has_access(value, 'moderate')() %}
4040 <div class="edit_post_form reply" style="display:none">
4141 {{widgets.edit_post.display(value=value, submit_text='Post', action=value.url())}}
4242 </div>