Merge pull request #96 from finnlabs/accessibility/25150/icon-font

[ci skip]
pull/6827/head
Oliver Günther 8 years ago committed by GitHub
commit d22b0c9e1e
  1. 2
      app/views/my_projects_overviews/blocks/_calendar.html.erb
  2. 12
      app/views/my_projects_overviews/blocks/_members.html.erb
  3. 4
      app/views/my_projects_overviews/blocks/_news_latest.html.erb
  4. 2
      app/views/my_projects_overviews/blocks/_project_description.html.erb
  5. 2
      app/views/my_projects_overviews/blocks/_spent_time.html.erb
  6. 4
      app/views/my_projects_overviews/blocks/_work_package_tracking.html.erb
  7. 2
      app/views/my_projects_overviews/blocks/_work_packages_assigned_to_me.html.erb
  8. 2
      app/views/my_projects_overviews/blocks/_work_packages_reported_by_me.html.erb
  9. 2
      app/views/my_projects_overviews/blocks/_work_packages_responsible_for.html.erb
  10. 2
      app/views/my_projects_overviews/blocks/_work_packages_watched.html.erb
  11. 2
      app/views/my_projects_overviews/index.html.erb

@ -24,7 +24,7 @@ See doc/COPYRIGHT.md for more details.
<% end %> <% end %>
<h3 class="widget-box--header"> <h3 class="widget-box--header">
<span class="icon-context icon-calendar"></span> <%= op_icon('icon-context icon-calendar') %>
<span class="widget-box--header-title"><%=l(:label_calendar)%></span> <span class="widget-box--header-title"><%=l(:label_calendar)%></span>
</h3> </h3>

@ -24,7 +24,7 @@ See doc/COPYRIGHT.md for more details.
<% end %> <% end %>
<h3 class="widget-box--header"> <h3 class="widget-box--header">
<span class="icon-context icon-group"></span> <%= op_icon('icon-context icon-group') %>
<span class="widget-box--header-title"><%=t(:label_member_plural)%></span> <span class="widget-box--header-title"><%=t(:label_member_plural)%></span>
</h3> </h3>
@ -42,16 +42,16 @@ See doc/COPYRIGHT.md for more details.
{ class: 'button -alt-highlight', { class: 'button -alt-highlight',
title: t(:button_add_member), title: t(:button_add_member),
aria: { label: t(:button_add_member) }} do %> aria: { label: t(:button_add_member) }} do %>
<i class="button--icon icon-add"></i> <%= op_icon('button--icon icon-add') %>
<span class="button--text"><%= t('activerecord.models.member') %></span> <span class="button--text"><%= t('activerecord.models.member') %></span>
<% end %> <% end %>
<% end %> <% end %>
<% if current_user.allowed_to?(:view_members, project) %> <% if current_user.allowed_to?(:view_members, project) %>
<%= link_to project_members_path(project_id: project.identifier), <%= link_to project_members_path(project_id: project.identifier),
{ class: 'button', { class: 'button',
title: t('members.show_all'), title: t(:label_memder_view_all),
aria: { label: t('members.show_all') }} do %> aria: { label: t(:label_memder_view_all) }} do %>
<i class="button--icon icon-group"></i> <%= op_icon('button--icon icon-group') %>
<span class="button--text"><%= t('members.show_all') %></span> <span class="button--text"><%= t(:label_memder_view_all) %></span>
<% end %> <% end %>
<% end %> <% end %>

@ -24,7 +24,7 @@ See doc/COPYRIGHT.md for more details.
<% end %> <% end %>
<h3 class="widget-box--header"> <h3 class="widget-box--header">
<span class="icon-context icon-news"></span> <%= op_icon('icon-context icon-news') %>
<span class="widget-box--header-title"><%=l(:label_news_latest)%></span> <span class="widget-box--header-title"><%=l(:label_news_latest)%></span>
</h3> </h3>
@ -41,7 +41,7 @@ See doc/COPYRIGHT.md for more details.
{ class: 'button -alt-highlight', { class: 'button -alt-highlight',
title: t(:label_news_new), title: t(:label_news_new),
aria: { label: t(:label_news_new) }} do %> aria: { label: t(:label_news_new) }} do %>
<i class="button--icon icon-add"></i> <%= op_icon('button--icon icon-add') %>
<span class="button--text"><%= l('activerecord.models.news') %></span> <span class="button--text"><%= l('activerecord.models.news') %></span>
<% end %> <% end %>
</p> </p>

@ -33,7 +33,7 @@ See doc/COPYRIGHT.md for more details.
<% if current_user.allowed_to?(:edit_project, project) %> <% if current_user.allowed_to?(:edit_project, project) %>
<%= link_to settings_project_path(project), class: 'button -highlight' do %> <%= link_to settings_project_path(project), class: 'button -highlight' do %>
<i class="button--icon icon-edit"></i> <%= op_icon('button--icon icon-edit') %>
<span class="button--text"><%= l(:button_edit) %></span> <span class="button--text"><%= l(:button_edit) %></span>
<% end %> <% end %>
<% end %> <% end %>

@ -24,7 +24,7 @@ See doc/COPYRIGHT.md for more details.
<% end %> <% end %>
<h3 class="widget-box--header"> <h3 class="widget-box--header">
<span class="icon-context icon-time"></span> <%= op_icon('icon-context icon-time') %>
<span class="widget-box--header-title"><%=l(:label_spent_time)%> (<%= l(:label_last_n_days, 7) %>)</span> <span class="widget-box--header-title"><%=l(:label_spent_time)%> (<%= l(:label_last_n_days, 7) %>)</span>
</h3> </h3>

@ -24,7 +24,7 @@ See doc/COPYRIGHT.md for more details.
<% end %> <% end %>
<h3 class="widget-box--header"> <h3 class="widget-box--header">
<span class="icon-context icon-types"></span> <%= op_icon('icon-context icon-types') %>
<span class="widget-box--header-title"><%=l(:label_work_package_tracking)%></span> <span class="widget-box--header-title"><%=l(:label_work_package_tracking)%></span>
</h3> </h3>
@ -47,7 +47,7 @@ See doc/COPYRIGHT.md for more details.
{ class: 'button -alt-highlight', { class: 'button -alt-highlight',
title: t(:label_keyboard_shortcut_new_work_package), title: t(:label_keyboard_shortcut_new_work_package),
aria: { label: t(:label_keyboard_shortcut_new_work_package) }} do %> aria: { label: t(:label_keyboard_shortcut_new_work_package) }} do %>
<i class="button--icon icon-add"></i> <%= op_icon('button--icon icon-add') %>
<span class="button--text"><%= l('activerecord.models.work_package') %></span> <span class="button--text"><%= l('activerecord.models.work_package') %></span>
<% end %> <% end %>
</p> </p>

@ -24,7 +24,7 @@ See doc/COPYRIGHT.md for more details.
<% end %> <% end %>
<h3 class="widget-box--header"> <h3 class="widget-box--header">
<span class="icon-context icon-assigned-to-me"></span> <%= op_icon('icon-context icon-assigned-to-me') %>
<span class="widget-box--header-title"><%=l(:label_work_packages_assigned_to_me)%> (<%= WorkPackage.visible.open.where(assigned_to_id: User.current.id, project_id: @project.id).count %>)</span> <span class="widget-box--header-title"><%=l(:label_work_packages_assigned_to_me)%> (<%= WorkPackage.visible.open.where(assigned_to_id: User.current.id, project_id: @project.id).count %>)</span>
</h3> </h3>

@ -24,7 +24,7 @@ See doc/COPYRIGHT.md for more details.
<% end %> <% end %>
<h3 class="widget-box--header"> <h3 class="widget-box--header">
<span class="icon-context icon-reported-by-me"></span> <%= op_icon('icon-context icon-reported-by-me') %>
<span class="widget-box--header-title"><%=l(:label_work_package_view_all_reported_by_me)%> (<%= WorkPackage.visible.where(author_id: User.current.id, project_id: @project.id).count %>)</span> <span class="widget-box--header-title"><%=l(:label_work_package_view_all_reported_by_me)%> (<%= WorkPackage.visible.where(author_id: User.current.id, project_id: @project.id).count %>)</span>
</h3> </h3>

@ -24,7 +24,7 @@ See doc/COPYRIGHT.md for more details.
<% end %> <% end %>
<h3 class="widget-box--header"> <h3 class="widget-box--header">
<span class="icon-context icon-assigned-to-me"></span> <%= op_icon('icon-context icon-assigned-to-me') %>
<span class="widget-box--header-title"><%=l(:label_work_packages_responsible_for)%> (<%= WorkPackage.visible.open.where(responsible_id: User.current.id, project_id: @project.id).count %>)</span> <span class="widget-box--header-title"><%=l(:label_work_packages_responsible_for)%> (<%= WorkPackage.visible.open.where(responsible_id: User.current.id, project_id: @project.id).count %>)</span>
</h3> </h3>

@ -24,7 +24,7 @@ See doc/COPYRIGHT.md for more details.
<% end %> <% end %>
<h3 class="widget-box--header"> <h3 class="widget-box--header">
<span class="icon-context icon-watched"></span> <%= op_icon('icon-context icon-watched') %>
<span class="widget-box--header-title"><%=l(:label_work_package_view_all_watched)%> (<%= WorkPackage.where(project_id: @project.id).visible.watched_by(user.id).count %>)</span> <span class="widget-box--header-title"><%=l(:label_work_package_view_all_watched)%> (<%= WorkPackage.where(project_id: @project.id).visible.watched_by(user.id).count %>)</span>
</h3> </h3>

@ -30,7 +30,7 @@ See doc/COPYRIGHT.md for more details.
<% if User.current.allowed_to?(:edit_project, project) %> <% if User.current.allowed_to?(:edit_project, project) %>
<li class="toolbar-item" title="<%= t(:label_personalize_page) %>"> <li class="toolbar-item" title="<%= t(:label_personalize_page) %>">
<%= link_to my_projects_overview_path(project), id: 'my-project-page-layout', class: 'button', accesskey: accesskey(:edit) do %> <%= link_to my_projects_overview_path(project), id: 'my-project-page-layout', class: 'button', accesskey: accesskey(:edit) do %>
<i class="icon-settings"></i> <%= op_icon('icon-settings') %>
<span class="hidden-for-sighted"><%= t(:label_personalize_page) %></span> <span class="hidden-for-sighted"><%= t(:label_personalize_page) %></span>
<% end %> <% end %>
</li> </li>

Loading…
Cancel
Save