Merge pull request #666 from ZmagoD/zd_SCI_1337

truncate long repository names [fixes SCI-1337]
This commit is contained in:
Zmago Devetak 2017-06-13 09:32:43 +02:00 committed by GitHub
commit 19adddbfdb

View file

@ -200,7 +200,7 @@
<% @my_module.experiment.project.team.repositories.each do |repository| %>
<li>
<a class="dropdown-item" href="<%= repository_my_module_url(repository_id: repository) %>" title="<%= repository.name %>">
<%= repository.name %>
<%= truncate(repository.name) %>
</a>
</li>
<% unless @my_module.experiment.project.team.repositories.last == repository %>