add tags to project list
This commit is contained in:
parent
6e08b5cc85
commit
62112dc0c7
3 changed files with 21 additions and 16 deletions
|
@ -270,20 +270,6 @@ input.ssh_project_url {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#projects-list .small-tags a{
|
|
||||||
font-size: 9px;
|
|
||||||
|
|
||||||
display: inline-block;
|
|
||||||
padding: 2px 3px 1px 3px;
|
|
||||||
margin: 0px 3px 0px 0px;
|
|
||||||
border-radius: 2px;
|
|
||||||
background-color: #3b6bce;
|
|
||||||
color: #FFF;
|
|
||||||
text-shadow: none;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.clear {
|
.clear {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,9 +8,23 @@
|
||||||
padding: 8px 11px 8px 11px;
|
padding: 8px 11px 8px 11px;
|
||||||
margin: 1px 5px 0px 0px;
|
margin: 1px 5px 0px 0px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid #d0e1ff;
|
border: 1px solid #72bbdf;
|
||||||
background-color: #d0e1ff;
|
background-color: #72bbdf;
|
||||||
color: #0f326d;
|
color: #0f326d;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.small-tags a{
|
||||||
|
font-size: 9px;
|
||||||
|
|
||||||
|
display: inline-block;
|
||||||
|
padding: 2px 3px 1px 3px;
|
||||||
|
margin: 0px 3px 0px 0px;
|
||||||
|
border-radius: 2px;
|
||||||
|
background-color: #72bbdf;
|
||||||
|
color: #FFF;
|
||||||
|
text-shadow: none;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
|
@ -12,6 +12,11 @@
|
||||||
%span Last Activity:
|
%span Last Activity:
|
||||||
- last_note = project.notes.last
|
- last_note = project.notes.last
|
||||||
= last_note ? last_note.created_at.stamp("24 Aug, 2011") : "Never"
|
= last_note ? last_note.created_at.stamp("24 Aug, 2011") : "Never"
|
||||||
|
|
||||||
|
%p.small-tags
|
||||||
|
- project.tag_list.each do |tag|
|
||||||
|
= link_to tag, "/tags/#{tag}"
|
||||||
|
|
||||||
.buttons
|
.buttons
|
||||||
%a.browse-code.button.yellow{:href => tree_project_path(project)} Browse code
|
%a.browse-code.button.yellow{:href => tree_project_path(project)} Browse code
|
||||||
%a.commits.button.green{:href => project_commits_path(project)} Commits
|
%a.commits.button.green{:href => project_commits_path(project)} Commits
|
||||||
|
|
Loading…
Reference in a new issue