修改项目列表的title

This commit is contained in:
fanqiang 2013-08-13 00:37:10 +08:00
parent 9d19a5bd19
commit 0027ca8d22
5 changed files with 6 additions and 5 deletions

View File

@ -10,16 +10,16 @@
</div>
<div class="information">
<p class="stats">
<%= content_tag('a', @project.watcher_users.count) %><%= content_tag('span', l(:label_follow_people)) %>
<%= content_tag('span', @project.watcher_users.count, :class => "info") %><%= content_tag('span', l(:label_follow_people)) %>
</p>
<p class="stats">
<%= content_tag('a', "#{@project.users.count}") %><%= content_tag('span', l(:label_current_contributors)) %>
<%= content_tag('span', "#{@project.users.count}", :class => "info") %><%= content_tag('span', l(:label_current_contributors)) %>
</p>
<p class="stats">
<%= content_tag('a', "#{(@project.repository.nil? || @project.repository.changesets[0].nil?) ? '0' : distance_of_time_in_words(Time.now, @project.repository.changesets[0].committed_on)}") %><%= content_tag('span', l(:label_since_last_commits)) %>
<%= content_tag('span', "#{(@project.repository.nil? || @project.repository.changesets[0].nil?) ? '0' : distance_of_time_in_words(Time.now, @project.repository.changesets[0].committed_on)}", :class => "info") %><%= content_tag('span', l(:label_since_last_commits)) %>
</p>
<p class="stats">
<%= content_tag('a', "#{@project.repository.nil? ? '0' : @project.repository.changesets.count }") %><%= content_tag('span', l(:label_commit_on)) %>
<%= content_tag('span', "#{@project.repository.nil? ? '0' : @project.repository.changesets.count }", :class => "info") %><%= content_tag('span', l(:label_commit_on)) %>
</p>
</div>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 826 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 859 KiB

View File

@ -1188,12 +1188,13 @@ a.img-tag3{
position: absolute;
}
.stats a {
.stats span.info {
width: 100px;
text-align: right;
display: inline-block;
font-weight: bold;
font-size: 1.2em;
color: rgb(17, 102, 153);
}
.stats span {