aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorXinhui2016-11-09 11:47:02 +0100
committerXinhui2016-11-09 11:47:17 +0100
commit2ca92317d4dc06992e93b39202fbc3231c8cac4d (patch)
treed8ec68c092d48889234127e18d8cec6f36b32259 /app/views
parente5bdfe49e120f6e703e63d05fad9e53ea499b58e (diff)
downloadchouette-core-2ca92317d4dc06992e93b39202fbc3231c8cac4d.tar.bz2
Refactoring MyWorkbenchScopes with initial_scope
Refs #1787
Diffstat (limited to 'app/views')
-rw-r--r--app/views/referentials/_counts.html.slim2
-rw-r--r--app/views/shared/_header.html.slim2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/referentials/_counts.html.slim b/app/views/referentials/_counts.html.slim
index 5d7019225..9754ebc99 100644
--- a/app/views/referentials/_counts.html.slim
+++ b/app/views/referentials/_counts.html.slim
@@ -16,7 +16,7 @@
= Referential.human_attribute_name('group_of_lines')
li.list-group-item
- span.badge = @referential.workbench.lines.size
+ span.badge = @referential.lines.size
= Referential.human_attribute_name('lines')
li.list-group-item
diff --git a/app/views/shared/_header.html.slim b/app/views/shared/_header.html.slim
index 58785f34c..73e705e35 100644
--- a/app/views/shared/_header.html.slim
+++ b/app/views/shared/_header.html.slim
@@ -63,7 +63,7 @@ nav.navbar.navbar-default.navbar-fixed-top role="navigation"
li
= link_to referential_lines_path(@referential) do
- span.badge.pull-right = @referential.workbench.lines.size
+ span.badge.pull-right = @referential.lines.size
= Referential.human_attribute_name("lines")
li