File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1616 </ div >
1717 < div class ="summary ">
1818 < div class ="status <%= project . status . downcase %> "> <%= project . status %> </ div >
19- < div class ="type "> <%= project . type %> </ div >
19+
20+ <% if Flipflop . project_type_indicator? %>
21+ < div class ="type "> <%= project . type %> </ div >
22+ <% end %>
23+
2024 < div class ="role "> <%= project . role ( current_user ) %> </ div >
2125 < div class ="download "> <%= project . latest_file_list_time %> </ div >
2226
2327 <% if Flipflop . last_updated_dashboard? %>
2428 < div class ="activity "> <%= project . last_activity %> </ div >
2529 <% end %>
2630
27- </ div > </ div >
31+ </ div > </ div >
2832
2933 < div class ="storage-details ">
3034 < div class ="storage ">
Original file line number Diff line number Diff line change 2323 # description: "Take over the world."
2424
2525 feature :disable_login , default : false , description : "Disable login to the web portal."
26- feature :last_updated_dashboard , default : true , description : "Show last updated column on dashboard."
26+ feature :last_updated_dashboard , default : false , description : "Show last updated column on dashboard."
27+ feature :project_type_indicator , default : false , description : "Show project type indicator on dashboard."
2728end
Original file line number Diff line number Diff line change 1919 visit "/features"
2020 expect ( page ) . not_to have_content ( "Disable login to the web portal" )
2121 expect ( page ) . not_to have_content ( "Last updated dashboard" )
22+ expect ( page ) . not_to have_content ( "Project type indicator" )
2223 end
2324 end
2425
3334 visit "/features"
3435 expect ( page ) . not_to have_content ( "Disable login to the web portal" )
3536 expect ( page ) . not_to have_content ( "Last updated dashboard" )
37+ expect ( page ) . not_to have_content ( "Project type indicator" )
3638 end
3739 end
3840
4749 visit "/features"
4850 expect ( page ) . to have_content ( "Disable login to the web portal" )
4951 expect ( page ) . to have_content ( "Last updated dashboard" )
52+ expect ( page ) . to have_content ( "Project type indicator" )
5053 end
5154 end
5255
6164 visit "/features"
6265 expect ( page ) . to have_content ( "Disable login to the web portal" )
6366 expect ( page ) . to have_content ( "Last updated dashboard" )
67+ expect ( page ) . to have_content ( "Project type indicator" )
6468 end
6569 end
6670end
You can’t perform that action at this time.
0 commit comments