Commit d5436426 authored by mh's avatar mh
Browse files

make the absent indication of recovery token work

parent b71e80df
......@@ -2,11 +2,11 @@
<table>
<% skip = ['id', 'mbxquota', 'forward', 'ratelimit']
yesno = ['mail_crypt_recovery_token']
absent = ['mail_crypt_recovery_token']
@the_user.each do |k,v| %>
<% unless skip.include?(k) || "#{v}" == "" %>
<tr><td><%= k %></td><td>
<%= if yesno.include?(k) then (if v then 'yes' else 'no' end) else v end %>
<%= if absent.include?(k) then (if v != 'absent' then 'yes' else 'no' end) else v end %>
</td></tr>
<% end %>
<% end %>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment