From ee9eaea47c149788ade7e1315880a3cad9786d5d Mon Sep 17 00:00:00 2001 From: zmagod Date: Fri, 9 Jun 2017 11:20:57 +0200 Subject: [PATCH] truncate long repository names [fixes SCI-1337] --- app/views/shared/_secondary_navigation.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_secondary_navigation.html.erb b/app/views/shared/_secondary_navigation.html.erb index 3b6503271..d1de50a94 100644 --- a/app/views/shared/_secondary_navigation.html.erb +++ b/app/views/shared/_secondary_navigation.html.erb @@ -200,7 +200,7 @@ <% @my_module.experiment.project.team.repositories.each do |repository| %>
  • - <%= repository.name %> + <%= truncate(repository.name) %>
  • <% unless @my_module.experiment.project.team.repositories.last == repository %>