[%# commmunities/queue/entries/edit.tt Show and edit an entry in the moderation queue Authors: Afuna Copyright (c) 2015 by Dreamwidth Studios, LLC. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. For a copy of the license, please reference 'perldoc perlartistic' or 'perldoc perlgpl'. %] [%- sections.title = ".title" | ml -%] [%- CALL dw.active_resource_group( "foundation" ) -%] [%- dw.need_res( { group => "foundation" } "stc/entrypage.css" "stc/css/pages/communities/queue/entries/edit.css" "js/jquery.autogrow-textarea.js" ) -%] [%- linkbar -%] [%# moderated-entry is (hopefully) a temporary class to tweak the styling for entries in the moderation queue -%]
[%- IF entry.icon -%]
[%- entry.icon.imgtag -%]
[%- END -%]
[%- 'talk.somebodywrote_comm' | ml( realname = entry.poster.username userlink = entry.poster.ljuser_display commlink = entry.journal.ljuser_display ) -%]
@[%- entry.time -%]
[%- entry.currents_html -%]
[%- entry.security_html -%] [%- entry.age_restriction_html -%]

[%- entry.subject -%]

[%- IF entry.age_restriction_reason -%]
[%- ".label.age_restriction" | ml( reason = entry.age_restriction_reason ) | html -%]
[%- END -%]
[%- entry.event -%]
[%- dw.form_auth -%] [%- form.hidden( name = "auth", value = entry.auth )-%]
Approve or Reject Entry [%- IF entry.poster.is_validated -%] [% form.textarea( name = "message" label = dw.ml( ".form.label.message" ) class = "expand" ) %] [%- END -%] [% form.submit( name = "action:approve" value = dw.ml( ".form.submit.approve" ) class = "submit button expand-for-mobile" ) %] [% form.submit( name = "action:preapprove" value = dw.ml( ".form.submit.preapprove" ) class = "submit button expand-for-mobile" ) %] [% form.submit( name = "action:reject" value = dw.ml( ".form.submit.reject" ) class = "secondary submit button expand-for-mobile" ) %] [%- IF can_report_spam -%] [% form.submit( name = "action:spam" value = dw.ml( ".form.submit.spam" ) class = "secondary submit button expand-for-mobile" ) %] [%- END -%]