a bit of restyling for issues and merge request lists

This commit is contained in:
Dmitriy Zaporozhets 2013-01-08 08:14:05 +03:00
parent b6568db1bc
commit f9528bfb86
19 changed files with 149 additions and 155 deletions

View file

@ -22,6 +22,6 @@
%td
- if can? current_user, :download_code, @project
= link_to archive_project_repository_path(@project, ref: branch.name) do
%i.icon-download
%i.icon-download-alt
Download

View file

@ -1,10 +1,9 @@
= render "commits/head"
%ul.nav.nav-pills
%ul.nav.nav-pills.nav-stacked
= nav_link(path: 'repositories#show') do
= link_to 'Recent', project_repository_path(@project)
= nav_link(path: 'protected_branches#index') do
= link_to project_protected_branches_path(@project) do
%i.icon-lock
Protected
%i.icon-lock
= nav_link(path: 'repositories#branches') do
= link_to 'All', branches_project_repository_path(@project)
= link_to 'All branches', branches_project_repository_path(@project)

View file

@ -1,12 +1,15 @@
= render "repositories/branches_head"
- unless @branches.empty?
%table
%thead
%tr
%th Name
%th Last commit
%th
%tbody
- @branches.each do |branch|
= render "repositories/branch", branch: branch
= render "commits/head"
.row
.span3
= render "filter"
.span9
- unless @branches.empty?
%table
%thead
%tr
%th Name
%th Last commit
%th
%tbody
- @branches.each do |branch|
= render "repositories/branch", branch: branch

View file

@ -1,11 +1,14 @@
= render "branches_head"
%table
%thead
%tr
%th Name
%th Last commit
%th
- @activities.each do |update|
= render "repositories/branch", branch: update.head
= render "commits/head"
.row
.span3
= render "filter"
.span9
%table
%thead
%tr
%th Name
%th Last commit
%th
- @activities.each do |update|
= render "repositories/branch", branch: update.head

View file

@ -26,7 +26,7 @@
%td
- if can? current_user, :download_code, @project
= link_to archive_project_repository_path(@project, ref: tag.name) do
%i.icon-download
%i.icon-download-alt
Download
- else