... | ... |
@@ -24,14 +24,14 @@ |
24 | 24 |
|
25 | 25 |
<div class="container"> |
26 | 26 |
%= include '/include/project_header'; |
27 |
- %= include '/include/code_menu', display => 'branches', branches_count => scalar @$branches; |
|
27 |
+ %= include '/include/code_menu', display => 'branches'; |
|
28 | 28 |
|
29 | 29 |
<h3>Branches</h3> |
30 | 30 |
|
31 | 31 |
<div class="muted"> |
32 | 32 |
Showing <%= @$branches %> branches not merged into master |
33 | 33 |
</div> |
34 |
- <div class="bk-black padding5"> |
|
34 |
+ <div class="bk-black" style="padding:5px"> |
|
35 | 35 |
<div class="row"> |
36 | 36 |
<div class="span8"> |
37 | 37 |
<div class="font-white"> |
... | ... |
@@ -39,9 +39,13 @@ |
39 | 39 |
</div> |
40 | 40 |
<div class="muted"> |
41 | 41 |
Last updated |
42 |
- <%= $default_branch->{commit}{age_string} %> |
|
42 |
+ <span title="<%= $default_branch->{commit}{age_string_datetime} %>"> |
|
43 |
+ <%= $default_branch->{commit}{age_string} %> |
|
44 |
+ </span> |
|
43 | 45 |
by |
44 |
- <%= $default_branch->{commit}{author_name} %> |
|
46 |
+ <span title="<%= $default_branch->{commit}{author_email} %>"> |
|
47 |
+ <%= $default_branch->{commit}{author_name} %> |
|
48 |
+ </span> |
|
45 | 49 |
</div> |
46 | 50 |
</div> |
47 | 51 |
<div class="span3 offset1-mini text-right font-white" style="padding-top:10px"> |
... | ... |
@@ -53,7 +57,7 @@ |
53 | 57 |
% my $branch = $branches->[$i]; |
54 | 58 |
% my $bname = $branch->{name}; |
55 | 59 |
% next if $bname eq $default_branch->{name}; |
56 |
- <div class="padding5 border-bottom-gray"> |
|
60 |
+ <div class="border-bottom-gray" style="padding:5px"> |
|
57 | 61 |
<div class="row"> |
58 | 62 |
<div class="span8"> |
59 | 63 |
<div> |
... | ... |
@@ -63,12 +67,16 @@ |
63 | 67 |
</div> |
64 | 68 |
<div class="muted"> |
65 | 69 |
Last updated |
66 |
- <%= $branch->{commit}{age_string} %> |
|
70 |
+ <span title="<%= $branch->{commit}{age_string_datetime} %>"> |
|
71 |
+ <%= $branch->{commit}{age_string} %> |
|
72 |
+ </span> |
|
67 | 73 |
by |
68 |
- <%= $branch->{commit}{author_name} %> |
|
74 |
+ <span title="<%= $branch->{commit}{author_email} %>"> |
|
75 |
+ <%= $branch->{commit}{author_name} %> |
|
76 |
+ </span> |
|
69 | 77 |
</div> |
70 | 78 |
</div> |
71 |
- <div class="span3 offset1-mini text-right" style="padding-top:5px"> |
|
79 |
+ <div class="text-right" style="padding-top:5px"> |
|
72 | 80 |
<a class="btn" href="<%= url_for("/$user/$project/compare/$default_branch->{name}...$bname") %>"> |
73 | 81 |
Compare |
74 | 82 |
</a> |
... | ... |
@@ -74,9 +74,9 @@ |
74 | 74 |
<h2>Compare View</h2> |
75 | 75 |
<div class="row"> |
76 | 76 |
<div class="span8 muted" style="padding-top:9px"> |
77 |
- Last commit <%= $commits->[0]{age_string} %> |
|
77 |
+ Last commit <span title="<%= $commits->[0]{age_string_datetime} %>"><%= $commits->[0]{age_string} %></span> |
|
78 | 78 |
</div> |
79 |
- <div class="span4 text-right"> |
|
79 |
+ <div class="text-right"> |
|
80 | 80 |
<button class="btn"><%= $rev1 %></button> |
81 | 81 |
... |
82 | 82 |
<button class="btn"><%= $rev2 %></button> |
... | ... |
@@ -11,7 +11,7 @@ |
11 | 11 |
<div class="border-blue" style="padding:5px;border-top:none"> |
12 | 12 |
<div class="row" style="font-size:12px"> |
13 | 13 |
<div class="span8"> |
14 |
- <a style="color:#333" href="#" title="<%= $commit->{author_email} %>"><%= $commit->{author_name} %></a> |
|
14 |
+ <span style="color:#333" title="<%= $commit->{author_email} %>"><%= $commit->{author_name} %></span> |
|
15 | 15 |
<span class="muted"> |
16 | 16 |
authored <span title="<%= $commit->{age_string_datetime} %>"><%= $commit->{age_string} %></span> |
17 | 17 |
</span> |
... | ... |
@@ -55,7 +55,7 @@ |
55 | 55 |
<a class="font-black" href="<%= url_for("/$user/$project/commit/$commit->{id}") %>"> |
56 | 56 |
<%= $commit->{title_short} %> |
57 | 57 |
</a> |
58 |
- [<a href="#" title="<%= $commit->{author_email} %>"><%= $commit->{author_name} %></a>] |
|
58 |
+ [<span style="color:#4183c4" title="<%= $commit->{author_email} %>"><%= $commit->{author_name} %></span>] |
|
59 | 59 |
</div> |
60 | 60 |
</div> |
61 | 61 |
</div> |
... | ... |
@@ -29,7 +29,7 @@ |
29 | 29 |
|
30 | 30 |
<div class="container"> |
31 | 31 |
%= include '/include/project_header'; |
32 |
- %= include '/include/code_menu', display => 'tags', tags_count => scalar @$tags; |
|
32 |
+ %= include '/include/code_menu', display => 'tags'; |
|
33 | 33 |
|
34 | 34 |
<h3 style="font-size:20px">Tags</h3> |
35 | 35 |
|
... | ... |
@@ -42,7 +42,7 @@ |
42 | 42 |
<div class="border-gray" style="padding:7px 5px;border-left:none;border-right:none;border-bottom:none;"> |
43 | 43 |
<div class="row"> |
44 | 44 |
<div class="span3"> |
45 |
- <a class="muted" href="<%= url_for("/$user/$project/tree/$name") %>" title="<%= $tag->{commit}{age_string_date} %>"><%= $tag->{commit}{age_string} %></a> |
|
45 |
+ <span class="muted" href="<%= url_for("/$user/$project/tree/$name") %>" title="<%= $tag->{commit}{age_string_datetime} %>"><%= $tag->{commit}{age_string} %></span> |
|
46 | 46 |
</div> |
47 | 47 |
<div class="span8"> |
48 | 48 |
<div> |
... | ... |
@@ -113,8 +113,8 @@ note 'Tags page'; |
113 | 113 |
# Page access |
114 | 114 |
$t->get_ok("/$user/$project/tags"); |
115 | 115 |
|
116 |
- # Date |
|
117 |
- $t->content_like(qr/\d{4}-\d{2}-\d{2}/); |
|
116 |
+ # Commit datetime |
|
117 |
+ $t->content_like(qr/\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}/); |
|
118 | 118 |
|
119 | 119 |
# Tree link |
120 | 120 |
$t->content_like(qr#/$user/$project/tree/t1#); |