diff options
| author | xinhui | 2016-09-23 15:36:56 +0200 |
|---|---|---|
| committer | xinhui | 2016-09-23 15:36:56 +0200 |
| commit | 8e34a27f7c647dd7bfe0e526ffaa797213ac681d (patch) | |
| tree | 46e6a5b76bb42fd56e9bf674443fabf6deb81f76 | |
| parent | 764f308550e72883fa274aae62421a23a0a5ea6f (diff) | |
| download | chouette-core-8e34a27f7c647dd7bfe0e526ffaa797213ac681d.tar.bz2 | |
Display reflex:sync operation message
| -rw-r--r-- | app/views/stop_area_referentials/show.html.slim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/stop_area_referentials/show.html.slim b/app/views/stop_area_referentials/show.html.slim index 658004dcc..32fe950dc 100644 --- a/app/views/stop_area_referentials/show.html.slim +++ b/app/views/stop_area_referentials/show.html.slim @@ -9,5 +9,12 @@ span.badge = @stop_area_referential.stop_areas.size = link_to Referential.human_attribute_name("stop_areas"), stop_area_referential_stop_areas_path(@stop_area_referential) +- unless @stop_area_referential.stop_area_referential_sync.stop_area_sync_operations.empty? + h3 Historique des synchronisations + + ul.list-group width="75%" + - @stop_area_referential.stop_area_referential_sync.stop_area_sync_operations.each do |sync| + li = "#{sync.created_at.to_formatted_s(:short)} - #{sync.message}" + - content_for :sidebar do ul.actions
\ No newline at end of file |
