fixes #653
This commit is contained in:
1
app/views/moderator/post/approvals/create.json.erb
Normal file
1
app/views/moderator/post/approvals/create.json.erb
Normal file
@@ -0,0 +1 @@
|
||||
{"success": <%= @post.errors.empty? %>, "reason": <%= raw @post.errors.full_messages.join("; ").to_json %>}
|
||||
@@ -14,6 +14,9 @@
|
||||
<option value="vote-down">Vote down</option>
|
||||
<option value="lock-rating">Lock rating</option>
|
||||
<option value="lock-note">Lock notes</option>
|
||||
<% if CurrentUser.is_janitor? %>
|
||||
<option value="approve">Approve</option>
|
||||
<% end %>
|
||||
<option value="edit-tag-script">Edit tag script</option>
|
||||
<option value="apply-tag-script">Apply tag script</option>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user