diff options
| author | cedricnjanga | 2017-09-06 16:56:33 +0200 |
|---|---|---|
| committer | cedricnjanga | 2017-09-06 16:56:33 +0200 |
| commit | e4c818de9e2e7292c2e04d8e76f9f2f43915f439 (patch) | |
| tree | eea036cfae25d25e718b9a55aaa7d8209830e03a /app | |
| parent | 5a500653e997f6efed95524fb121b74b33a39339 (diff) | |
| download | chouette-core-e4c818de9e2e7292c2e04d8e76f9f2f43915f439.tar.bz2 | |
Add Organisation column in Calendars#index Table
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/calendars/index.html.slim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/calendars/index.html.slim b/app/views/calendars/index.html.slim index 56232b0af..24ed15484 100644 --- a/app/views/calendars/index.html.slim +++ b/app/views/calendars/index.html.slim @@ -31,6 +31,10 @@ attribute: 'short_name' \ ), \ TableBuilderHelper::Column.new( \ + key: :organisation, \ + attribute: Proc.new { |c| c.organisation.name } \ + ), \ + TableBuilderHelper::Column.new( \ key: :shared, \ attribute: Proc.new { |c| t("#{c.try(:shared)}") } \ ) \ |
