diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-05-18 00:23:18 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-05-18 00:23:18 +0300 |
commit | 02dc25651411d5a60d760265903ebf629959ba59 (patch) | |
tree | ff4bf9a807237e99b405ebd91cd43ba1b5a7380f /app/views/repositories | |
parent | 2b319d0496fb4eee24f78e1817235daf23d52079 (diff) | |
download | gitlab-ce-02dc25651411d5a60d760265903ebf629959ba59.tar.gz |
Branches pages polished. few css improvements
Diffstat (limited to 'app/views/repositories')
-rw-r--r-- | app/views/repositories/_branches_head.html.haml | 1 | ||||
-rw-r--r-- | app/views/repositories/branches.html.haml | 9 | ||||
-rw-r--r-- | app/views/repositories/show.html.haml | 8 |
3 files changed, 15 insertions, 3 deletions
diff --git a/app/views/repositories/_branches_head.html.haml b/app/views/repositories/_branches_head.html.haml index dd0b343be1a..63cbee6c4f4 100644 --- a/app/views/repositories/_branches_head.html.haml +++ b/app/views/repositories/_branches_head.html.haml @@ -9,4 +9,3 @@ %li{:class => ("active" if current_page?(branches_project_repository_path(@project)))} = link_to branches_project_repository_path(@project) do All -%hr diff --git a/app/views/repositories/branches.html.haml b/app/views/repositories/branches.html.haml index 75e34da5514..52c0bf8e618 100644 --- a/app/views/repositories/branches.html.haml +++ b/app/views/repositories/branches.html.haml @@ -1,6 +1,13 @@ = render "repositories/branches_head" - unless @branches.empty? - %table.table-striped.borders + %table.admin-table + %thead + %tr + %th Name + %th Last commit + %th Updated at + %th + %tbody - @branches.each do |branch| = render "repositories/branch", :branch => branch diff --git a/app/views/repositories/show.html.haml b/app/views/repositories/show.html.haml index 43514551420..ceb971a4e17 100644 --- a/app/views/repositories/show.html.haml +++ b/app/views/repositories/show.html.haml @@ -1,6 +1,12 @@ = render "branches_head" -%table.zebra-striped.borders +%table.admin-table + %thead + %tr + %th Name + %th Last commit + %th Updated at + %th - @activities.each do |update| = render "repositories/branch", :branch => update.head |