This repository has been archived by the owner on Dec 6, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #560 from hacken-in/bugs/515-statement-invalid-in-…
…statistics-show Fixed statistics page for postgres, closes #515
- Loading branch information
Showing
7 changed files
with
28 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
%ul | ||
- Region.active.each do |region| | ||
%li= link_to region.name, show_statistic_path(region: region.slug) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
%h2 Statistiken | ||
%h2= t("statistics.index.headline") | ||
|
||
= render partial: 'other_regions' | ||
|
||
%ul | ||
- Region.all.each do |region| | ||
%li= link_to region.name, show_statistic_path(region: region.slug) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
%h2 Statistiken für #{@current_region.name} | ||
%h2= t("statistics.show.headline", region: @current_region.name) | ||
|
||
%h3 Wochentage | ||
%h3= t("statistics.show.weekdays") | ||
|
||
= column_chart @chart_data | ||
|
||
%p | ||
Weitere Statistiken für | ||
|
||
%ul | ||
- Region.all.each do |region| | ||
%li= link_to region.name, show_statistic_path(region: region.slug) | ||
= render partial: 'other_regions' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters