Forums enhancements:
* messages can now be edited/deleted (explicit permissions need to be given) * topics can be locked so that no reply can be added (only by users allowed to edit messages) * topics can be marked as sticky so that they always appear at the top of the list (only by users allowed to edit messages) git-svn-id: http://redmine.rubyforge.org/svn/trunk@926 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
866e9e2503
commit
29b3614bcb
19 files changed
+294
-36
No files matched your search
@@ -3,7 +3,13 @@
|
||||
<div class="box">
|
||||
<!--[form:message]-->
|
||||
<p><label><%= l(:field_subject) %></label><br />
|
||||
<%= f.text_field :subject, :required => true, :size => 120 %></p>
|
||||
<%= f.text_field :subject, :required => true, :size => 120 %>
|
||||
|
||||
<% if User.current.allowed_to?(:edit_messages, @project) %>
|
||||
<label><%= f.check_box :sticky %> Sticky</label>
|
||||
<label><%= f.check_box :locked %> Locked</label>
|
||||
<% end %>
|
||||
</p>
|
||||
|
||||
<p><%= f.text_area :content, :required => true, :cols => 80, :rows => 15, :class => 'wiki-edit', :id => 'message_content' %></p>
|
||||
<%= wikitoolbar_for 'message_content' %>
|
||||
|
||||
Reference in new issue
Block a user