Redesign services page

This commit is contained in:
Dmitriy Zaporozhets 2015-01-23 21:03:12 -08:00
parent a6bdf7d876
commit 5e98293b0e

View file

@ -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
= link_to edit_project_service_path(@project, service.to_param) do
= service.title
.pull-right
%tr
%td
= boolean_to_icon service.activated?
%p= service.description
%td
= link_to edit_project_service_path(@project, service.to_param) do
%strong= service.title
%td
= service.description
%td.light
= time_ago_in_words service.updated_at
ago