aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/journey_patterns_collections
diff options
context:
space:
mode:
authorThomas Haddad2017-04-03 17:26:12 +0200
committerThomas Haddad2017-04-03 17:26:12 +0200
commit4ed8d66ec3025cb4e554554161a7af01307bd128 (patch)
tree8eb6b0a9f3e1f60eb54cae12135267e5c28672f9 /app/views/journey_patterns_collections
parenteaf643b91f724a3f3b31855299b3682619cf818c (diff)
downloadchouette-core-4ed8d66ec3025cb4e554554161a7af01307bd128.tar.bz2
Refs #3028: Add and update permissions for vj and jp
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
Diffstat (limited to 'app/views/journey_patterns_collections')
-rw-r--r--app/views/journey_patterns_collections/show.html.slim5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/journey_patterns_collections/show.html.slim b/app/views/journey_patterns_collections/show.html.slim
index 33e13e3bb..b5607090f 100644
--- a/app/views/journey_patterns_collections/show.html.slim
+++ b/app/views/journey_patterns_collections/show.html.slim
@@ -11,9 +11,10 @@
.col-lg-12
#journey_patterns
-
= javascript_tag do
| window.stopPoints = #{(@stop_points_list.to_json).html_safe};
| window.journeyPatternLength = #{@journey_patterns.total_entries()};
- | window.journeyPatternsPerPage = #{@ppage}
+ | window.journeyPatternsPerPage = #{@ppage};
+ | window.perms = #{raw @perms}
+
= javascript_include_tag 'es6_browserified/journey_patterns/index.js'