Commit 88d42c2e1c5ef3d312efbba658d852e638bf8f31
1 parent
e84df44e
Exists in
master
and in
4 other branches
Replace projects_box with ui-box. Fixed team spinach test
Showing
8 changed files
with
15 additions
and
20 deletions
Show diff stats
app/assets/stylesheets/sections/projects.scss
app/views/dashboard/_groups.html.haml
... | ... | @@ -12,10 +12,13 @@ |
12 | 12 | - groups.each do |group| |
13 | 13 | %li |
14 | 14 | = link_to group_path(id: group.path), class: dom_class(group) do |
15 | - %strong.well-title= truncate(group.name, length: 35) | |
16 | - %span.pull-right.light | |
17 | - - if group.owner == current_user | |
18 | - %i.icon-wrench | |
15 | + %strong.well-title | |
16 | + = truncate(group.name, length: 35) | |
17 | + %span.arrow | |
18 | + → | |
19 | + %span.last_activity | |
20 | + %strong Owner: | |
21 | + %span= group.owner_name | |
19 | 22 | - if groups.blank? |
20 | 23 | %li |
21 | 24 | %h3.nothing_here_message You have no groups yet. | ... | ... |
app/views/dashboard/_projects.html.haml
app/views/groups/_projects.html.haml
app/views/teams/_projects.html.haml
app/views/teams/edit.html.haml
features/steps/userteams/userteams.rb
... | ... | @@ -206,12 +206,8 @@ class Userteams < Spinach::FeatureSteps |
206 | 206 | visit team_path(team) |
207 | 207 | end |
208 | 208 | |
209 | - When 'I click on link "Projects"' do | |
210 | - click_link "Projects" | |
211 | - end | |
212 | - | |
213 | - And 'I click link "Assign project to Team"' do | |
214 | - click_link "Assign project to Team" | |
209 | + When 'I click on link "Assign Project"' do | |
210 | + click_link "Assign Project" | |
215 | 211 | end |
216 | 212 | |
217 | 213 | Then 'I should see form with my own project in avaliable projects list' do | ... | ... |
features/teams/team.feature
... | ... | @@ -59,8 +59,7 @@ Feature: UserTeams |
59 | 59 | Given I have team with projects and members |
60 | 60 | And I have my own project without teams |
61 | 61 | And I visit my team page |
62 | - When I click on link "Projects" | |
63 | - And I click link "Assign project to Team" | |
62 | + When I click on link "Assign Project" | |
64 | 63 | Then I should see form with my own project in avaliable projects list |
65 | 64 | When I submit form with selected project and max access |
66 | 65 | Then I should see my own project in team projects list | ... | ... |