i18n of invitation request view

This commit is contained in:
Carl Chenet 2017-02-05 23:27:35 +01:00
parent 5c57e78010
commit bec06e0cfc

View file

@ -1,19 +1,17 @@
<div class="box wide">
<div class="legend">
Requested Invitations
<%= t('.requestedinvtitle') %>
</div>
<p>
These persons have requested invitations and confirmed their e-mail
addresses. If you recognize anyone, feel free to send them an invitation and
remove their request. Spam will be cleared out by a moderator.
<%= t('.requestedinvsummary') %>
</p>
<table class="data" width="100%" cellspacing=0>
<tr>
<th width="15%">Date/Time</th>
<th width="20%">Name</th>
<th width="40%">Memo</th>
<th width="15%"><%= t('.requestedinvdate') %></th>
<th width="20%"><%= t('.requestedinvname') %></th>
<th width="40%"><%= t('.requestedinvmemo') %></th>
<th width="15%"></th>
<% if @user.is_moderator? %>
<th></th>
@ -31,14 +29,12 @@
<td><%= raw ir.markeddown_memo %></td>
<td><%= form_tag send_invitation_for_request_path do %>
<%= hidden_field_tag "code", ir.code %>
<%= submit_tag "Send Invitation", :data => { :confirm => "Are " <<
"you sure you want to invite this person and remove this request?" } %>
<%= submit_tag t('.sendinvitation'), :data => { :confirm => "#{t('.confirminvitation')}" } %>
<% end %></td>
<% if @user.is_moderator? %>
<td><%= form_tag delete_invitation_request_path do %>
<%= hidden_field_tag "code", ir.code %>
<%= submit_tag "Delete", :data => { :confirm => "Are you sure " <<
"you want to delete this request?" } %>
<%= submit_tag t('.deleteinvitation'), :data => { :confirm => "#{t('.confirmdelete')}" } %>
<% end %></td>
<% end %>
</tr>
@ -47,7 +43,7 @@
<% if @invitation_requests.count == 0 %>
<tr>
<td colspan=<%= @user.is_moderator?? 5 : 4 %> align="center"><span
class="na">No invitation requests</span></td>
class="na"><%= t('.noinvitation') %></span></td>
</tr>
<% end %>
</table>