diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-08 12:42:57 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-08 12:42:57 +0200 |
commit | 03770698417563abe70fdea223700ca370e9f062 (patch) | |
tree | bb8c9dd9b5baa26bf4a040a196bb102c0d00344b /app/views/groups/_projects.html.haml | |
parent | 18fac5879d0228f501bea6316a5fbb955859fec3 (diff) | |
download | gitlab-ce-03770698417563abe70fdea223700ca370e9f062.tar.gz |
Use css truncation instead of rails
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/groups/_projects.html.haml')
-rw-r--r-- | app/views/groups/_projects.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/groups/_projects.html.haml b/app/views/groups/_projects.html.haml index 98b7b88865b..029d6cb0efa 100644 --- a/app/views/groups/_projects.html.haml +++ b/app/views/groups/_projects.html.haml @@ -14,7 +14,8 @@ = link_to project_path(project), class: dom_class(project) do .dash-project-access-icon = visibility_level_icon(project.visibility_level) - %span.project-name - = truncate(project.name, length: 25) + %span.str-truncated + %span.project-name + = truncate(project.name, length: 25) %span.arrow %i.icon-angle-right |