diff options
author | Peter Kozak <spag@golwen.net> | 2013-05-31 14:35:18 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-05-31 14:35:18 +0200 |
commit | de6abb94d05f8c36a1d4efa371f34ad620f191c2 (patch) | |
tree | a38547123056d0dfbfabcafd7e7f12ac3bb0e881 /app/views/intruders | |
parent | 71216fcf617cf522a1d1a17ec5baba5edd2c542d (diff) |
country added
Diffstat (limited to 'app/views/intruders')
-rw-r--r-- | app/views/intruders/_index_core.html.haml | 2 | ||||
-rw-r--r-- | app/views/intruders/show.html.haml | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/app/views/intruders/_index_core.html.haml b/app/views/intruders/_index_core.html.haml index 1fca601..fa1cf8f 100644 --- a/app/views/intruders/_index_core.html.haml +++ b/app/views/intruders/_index_core.html.haml @@ -2,6 +2,7 @@ %tr %th %th= t('intruders.index.contact_ip') + %th= t('intruders.index.country') %th= t('intruders.index.points') %th= t('intruders.index.ban_last') %th= t('intruders.index.contact_count') @@ -31,6 +32,7 @@ %i.icon-warning-sign %td= intruder.contact_ip + %td= intruder.country %td= intruder.points %td - if intruder.ban_last diff --git a/app/views/intruders/show.html.haml b/app/views/intruders/show.html.haml index df50872..5096941 100644 --- a/app/views/intruders/show.html.haml +++ b/app/views/intruders/show.html.haml @@ -22,6 +22,9 @@ %strong= t('intruders.show.contact_ip') + ":" = @intruder.contact_ip %p + %strong= t('intruders.show.country') + ":" + = @intruder.country +%p %strong= t('intruders.show.contact_port') + ":" = @intruder.contact_port %p |