From 8755384bd86f8b93d825006acfd07aba1910f50e Mon Sep 17 00:00:00 2001 From: joshua stein Date: Wed, 19 Feb 2014 13:15:35 -0600 Subject: [PATCH] invitation requests: show confirmed e-mails to moderators --- app/views/invitations/index.html.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/invitations/index.html.erb b/app/views/invitations/index.html.erb index a8369ab..1857e0c 100644 --- a/app/views/invitations/index.html.erb +++ b/app/views/invitations/index.html.erb @@ -23,7 +23,11 @@ <% @invitation_requests.each do |ir| %> <%= ir.created_at.strftime("%Y-%m-%d %H:%M:%S") %> - <%= ir.name %> + <%= ir.name %> + <% if @user.is_moderator? %> +
+ <%= ir.email %> + <% end %> <%= raw ir.markeddown_memo %> <%= form_tag send_invitation_for_request_url do %> <%= hidden_field_tag "code", ir.code %>