Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-01-24 09:23:58 +0300
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-01-24 09:23:58 +0300
commitc8c05edcd500c0a755cb6962b51f97381663bd1a (patch)
tree21c45cbda07031fcd24e83ce29d483bb67b00365 /app
parent4225dad45e345f4dc81b5e705617ce2ebbcca45b (diff)
parent5e98293b0e21a7fd9d62ce7272afef31b8414abb (diff)
Merge branch 'redesign-services-page' into 'master'
Redesign services page Make services page more user-friendly See merge request !1432
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/services/index.html.haml25
1 files changed, 17 insertions, 8 deletions
diff --git a/app/views/projects/services/index.html.haml b/app/views/projects/services/index.html.haml
index 7271dd830ca..4604c0afd8d 100644
--- a/app/views/projects/services/index.html.haml
+++ b/app/views/projects/services/index.html.haml
@@ -1,13 +1,22 @@
%h3.page-title Project services
%p.light Project services allow you to integrate GitLab with other applications
-%hr
-%ul.bordered-list
+%table.table
+ %thead
+ %tr
+ %th
+ %th Service
+ %th Desription
+ %th Last edit
- @services.sort_by(&:title).each do |service|
- %li
- %h4
+ %tr
+ %td
+ = boolean_to_icon service.activated?
+ %td
= link_to edit_project_service_path(@project, service.to_param) do
- = service.title
- .pull-right
- = boolean_to_icon service.activated?
- %p= service.description
+ %strong= service.title
+ %td
+ = service.description
+ %td.light
+ = time_ago_in_words service.updated_at
+ ago