diff options
| author | anicet | 2015-07-06 16:36:20 +0200 | 
|---|---|---|
| committer | anicet | 2015-07-06 16:36:27 +0200 | 
| commit | 21fc93024516e03fa2e7aaf71f46e4a53929c39c (patch) | |
| tree | 4dca6114d6761f67f712920b9d5701449ad73eb3 /app/helpers | |
| parent | 19276285aa5fadcc8e25341e701bef399868798a (diff) | |
| download | chouette-core-21fc93024516e03fa2e7aaf71f46e4a53929c39c.tar.bz2 | |
Import/Export/ComplianceCheck Job : update display action_parameters in sidebar
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/history_helper.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/history_helper.rb b/app/helpers/history_helper.rb index 6557257e9..3ad38a11e 100644 --- a/app/helpers/history_helper.rb +++ b/app/helpers/history_helper.rb @@ -32,8 +32,7 @@ module HistoryHelper    def history_tag(object)      field_set_tag t("layouts.history_tag.title"), class: "history_tag" do        content_tag :ul do -        [:created_at, :updated_at, :user_name, :name, :organisation_name, -         :referential_name, :no_save, :clean_repository].each do |field| +        [:created_at, :updated_at, :user_name, :no_save].each do |field|            concat history_tag_li(object, field)          end        end @@ -47,6 +46,7 @@ module HistoryHelper        key = t("layouts.history_tag.#{field}")        value = object.public_send(field)        value = l(value, format: :short) if value.is_a?(Time) +      value = t(value.to_s) if value.in?([true, false])        content_tag(:li, "#{key} : #{value}")      end    end  | 
