File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
<% if comment.status == 4 %>
2
2
<p class ="alert alert-warning moderated ">
3
3
<% if logged_in_as ( [ 'admin' , 'moderator' ] ) %>
4
- <%= t ( 'dashboard._comment_moderate.first_time_post' ) %>
5
- < a class ="btn btn-outline-secondary btn-sm " href ="/admin/publish_comment/ <%= comment . id %> "> <%= t ( 'dashboard.moderate.approve' ) %> </ a >
6
- < a class ="btn btn-outline-secondary btn-sm " href ="/admin/mark_comment_spam/ <%= comment . id %> "> <%= t ( 'dashboard.moderate.spam' ) %> </ a >
4
+ <%= translation ( 'dashboard._comment_moderate.first_time_post' ) %>
5
+ < a class ="btn btn-outline-secondary btn-sm " href ="/admin/publish_comment/ <%= comment . id %> "> <%= translation ( 'dashboard.moderate.approve' ) %> </ a >
6
+ < a class ="btn btn-outline-secondary btn-sm " href ="/admin/mark_comment_spam/ <%= comment . id %> "> <%= translation ( 'dashboard.moderate.spam' ) %> </ a >
7
7
<% else %>
8
- <%= raw t ( 'dashboard.moderate.pending_approval' , :url => '/wiki/moderation' ) %>
8
+ <%= raw translation ( 'dashboard.moderate.pending_approval' , :url => '/wiki/moderation' ) %>
9
9
<% end %>
10
10
</ p >
11
11
<% end %>
You can’t perform that action at this time.
0 commit comments