Commit 449edae5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Minor UI improvements

parent 61d98601
......@@ -3,9 +3,9 @@
= search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter'
- if current_user.can_create_group?
%span.pull-right
= link_to new_group_path, class: "btn" do
= link_to new_group_path, class: "btn btn-new" do
%i.icon-plus
New Group
New group
%ul.well-list.dash-list
- groups.each do |group|
%li.group-row
......
......@@ -3,9 +3,9 @@
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter'
- if current_user.can_create_project?
%span.pull-right
= link_to new_project_path, class: "btn" do
= link_to new_project_path, class: "btn btn-new" do
%i.icon-plus
New Project
New project
%ul.well-list.dash-list
- projects.each do |project|
......
......@@ -27,10 +27,10 @@
%i.icon-cogs
- if current_user.can_create_project?
%li
= link_to new_project_path, title: "Create New Project", class: 'has_bottom_tooltip', 'data-original-title' => 'New project' do
= link_to new_project_path, title: "New project", class: 'has_bottom_tooltip', 'data-original-title' => 'New project' do
%i.icon-plus
%li
= link_to profile_path, title: "My Profile", class: 'has_bottom_tooltip', 'data-original-title' => 'Your profile' do
= link_to profile_path, title: "My profile", class: 'has_bottom_tooltip', 'data-original-title' => 'My profile' do
%i.icon-user
%li
= link_to destroy_user_session_path, class: "logout", method: :delete, title: "Logout", class: 'has_bottom_tooltip', 'data-original-title' => 'Logout' do
......
......@@ -5,7 +5,7 @@
= @user.name
- if @user == current_user
.pull-right
= link_to profile_path, class: 'btn btn-small' do
= link_to profile_path, class: 'btn' do
%i.icon-edit
Edit Profile
%br
......@@ -14,7 +14,7 @@
%small member since #{@user.created_at.stamp("Nov 12, 2031")}
.clearfix
%hr
%h5 User Activity:
%h4 User Activity:
= render @events
.span4
= render 'profile', user: @user
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment