• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得windowscocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

allura


Commit MetaInfo

Revisión6aa3f6ead504dfd550469952cc39aaf42daed1a5 (tree)
Tiempo2012-07-11 00:56:24
AutorIgor Bondarenko <jetmind2@gmai...>
CommiterIgor Bondarenko

Log Message

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

Cambiar Resumen

Diferencia incremental

--- 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>