2013-08-01 10:33:49 +08:00
|
|
|
|
2015-01-22 20:41:42 +08:00
|
|
|
<div class="cl" style="margin-top: 15px; clear:both; overflow:hidden;"></div>
|
2015-01-26 15:54:23 +08:00
|
|
|
|
2013-08-01 10:33:49 +08:00
|
|
|
|
|
|
|
<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :issue_url => @issue_url } %>
|
2015-04-23 17:42:03 +08:00
|
|
|
|
|
|
|
<div class="mail_foot" style="margin:0; padding:0; border:0;">
|
|
|
|
<% [:label_user_mail_option_all, :label_user_mail_option_day, :label_user_mail_option_none].each do |mail_option| %>
|
|
|
|
<% if Hash[*User::MAIL_NOTIFICATION_OPTIONS.flatten][@user.mail_notification] == mail_option %>
|
|
|
|
<label style="margin-top:20px;color:gray; margin-left:10px;"><%= l(mail_option) %></label>
|
|
|
|
<% else %>
|
|
|
|
<%= link_to l(mail_option), my_change_mail_notification_url(token: @token.value,mail_notification: Hash[*User::MAIL_NOTIFICATION_OPTIONS.flatten].invert[mail_option]), :style => "margin-top:20px;color:#2775d2; margin-left:10px;" %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
2015-01-19 14:35:30 +08:00
|
|
|
|