Mercurial > hg > soundsoftware-site
changeset 1203:74ad60b807ae cannam
Small wording and layout fix
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 23 Jan 2013 11:47:09 +0000 |
parents | 8675fa03326d |
children | d24c22d420eb adb5f38f6ab7 |
files | app/views/my/blocks/_myprojects.html.erb config/locales/en.yml |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/app/views/my/blocks/_myprojects.html.erb Wed Jan 23 11:47:00 2013 +0000 +++ b/app/views/my/blocks/_myprojects.html.erb Wed Jan 23 11:47:09 2013 +0000 @@ -3,7 +3,7 @@ <% if @user_projects.empty? %> <h3><%=l(:label_my_projects)%></h3> <div class="box"> - <p><%= l(:label_have_no_projects)%> <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}) if User.current.allowed_to?(:add_project, nil, :global => true) %></p> + <div class="tip"><%= l(:label_have_no_projects)%> <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}) if User.current.allowed_to?(:add_project, nil, :global => true) %></div> </div> <% else %> <h3><%=l(:label_my_projects)%> (<%= @user_projects.count %>)</h3>
--- a/config/locales/en.yml Wed Jan 23 11:47:00 2013 +0000 +++ b/config/locales/en.yml Wed Jan 23 11:47:09 2013 +0000 @@ -483,7 +483,7 @@ label_project_plural: Projects label_my_project_plural: My Projects label_other_project_plural: Other Projects - label_have_no_projects: Not a member of any projects. + label_have_no_projects: You are not a member of any projects. label_x_projects: zero: no projects one: 1 project