diff options
| author | Luc Donnet | 2017-09-04 11:09:23 +0200 |
|---|---|---|
| committer | Luc Donnet | 2017-09-04 11:09:23 +0200 |
| commit | dd3ec3c6090b05a0a910b278f51ff7b5d8a92f02 (patch) | |
| tree | 270e2e70a36989e9c7da8b3b56bd2391ca070afa /app/helpers/newapplication_helper.rb | |
| parent | ed64dc517bca5f775631d999aa2e60f78d4dae30 (diff) | |
| download | chouette-core-dd3ec3c6090b05a0a910b278f51ff7b5d8a92f02.tar.bz2 | |
Update workbench_import, netex_import and import_resources views Refs #4256 #4257 #4258
Diffstat (limited to 'app/helpers/newapplication_helper.rb')
| -rw-r--r-- | app/helpers/newapplication_helper.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/helpers/newapplication_helper.rb b/app/helpers/newapplication_helper.rb index e6a6f7e11..df19113db 100644 --- a/app/helpers/newapplication_helper.rb +++ b/app/helpers/newapplication_helper.rb @@ -287,18 +287,4 @@ module NewapplicationHelper end end - # Import statuses helper - def import_status(status) - if %w[new running pending].include? status - content_tag :span, '', class: "fa fa-clock-o" - else - cls ='' - cls = 'success' if status == 'successful' - cls = 'warning' if status == 'warning' - cls = 'danger' if %w[failed aborted canceled].include? status - - content_tag :span, '', class: "fa fa-circle text-#{cls}" - end - end - end |
