mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 21:21:50 +08:00
shorten project name [fixes SCI-2344]
This commit is contained in:
parent
43d19b1d8f
commit
5514683f96
1 changed files with 1 additions and 1 deletions
|
@ -485,7 +485,7 @@ class ReportsController < ApplicationController
|
||||||
.select(:id, :name)
|
.select(:id, :name)
|
||||||
@visible_projects = projects.collect do |project|
|
@visible_projects = projects.collect do |project|
|
||||||
VisibleProject.new(new_project_reports_path(project),
|
VisibleProject.new(new_project_reports_path(project),
|
||||||
ellipsize(project.name, 75, 50))
|
ellipsize(project.name, 50, 40))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue