Commit 62112dc0 authored by Aleksei Kvitinskii's avatar Aleksei Kvitinskii

add tags to project list

parent 6e08b5cc
...@@ -270,20 +270,6 @@ input.ssh_project_url { ...@@ -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 @@ ...@@ -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;
} }
\ No newline at end of file
...@@ -12,6 +12,11 @@ ...@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment