... | ... |
@@ -187,47 +187,41 @@ |
187 | 187 |
<li><a href="#file-changed" data-toggle="tab">Files Changed</a></li> |
188 | 188 |
</ul> |
189 | 189 |
|
190 |
- <div class="tab-content"> |
|
191 |
- <div class="tab-pane active" id="commits"> |
|
192 |
- <div> |
|
193 |
- Showing <%= @$commits %> commits by <%= $authors_count %> author. |
|
194 |
- </div> |
|
190 |
+ <div> |
|
191 |
+ Showing <%= @$commits %> commits by <%= $authors_count %> author. |
|
192 |
+ </div> |
|
195 | 193 |
|
196 |
- % for my $date (reverse sort keys %$commits_date) { |
|
197 |
- % my $commits = $commits_date->{$date}; |
|
198 |
- |
|
199 |
- <div class="bk-gray-light border-gray" style="padding:5px;"> |
|
200 |
- <%= $date %> |
|
201 |
- </div> |
|
202 |
- |
|
203 |
- <div style="margin-bottom:20px"> |
|
204 |
- % for my $commit (sort {$b->{author_epoch} <=> $a->{author_epoch}} @$commits) { |
|
205 |
- <div class="border-gray" style="padding:5px;border-top:none"> |
|
206 |
- <div class="row"> |
|
207 |
- <div class="span2"> |
|
208 |
- <span title="<%= $commit->{author_email} %>"><%= $commit->{author_name} %></span> |
|
209 |
- </div> |
|
210 |
- <div class="span7"> |
|
211 |
- <a style="color:#333" href="<%= url_for("/$user/$project/commit/$commit->{id}") %>"> |
|
212 |
- <%= $commit->{title_short} %> |
|
213 |
- </a> |
|
214 |
- </div> |
|
215 |
- <div class="span2 text-right" style="margin-left:80px"> |
|
216 |
- <a href="<%= url_for("/$user/$project/commit/$commit->{id}") %>"> |
|
217 |
- <%= substr($commit->{id}, 0, 7) %> |
|
218 |
- </a> |
|
219 |
- </div> |
|
220 |
- </div> |
|
194 |
+ % for my $date (reverse sort keys %$commits_date) { |
|
195 |
+ % my $commits = $commits_date->{$date}; |
|
196 |
+ |
|
197 |
+ <div class="bk-gray-light border-gray" style="padding:5px;"> |
|
198 |
+ <%= $date %> |
|
199 |
+ </div> |
|
200 |
+ |
|
201 |
+ <div style="margin-bottom:20px"> |
|
202 |
+ % for my $commit (sort {$b->{author_epoch} <=> $a->{author_epoch}} @$commits) { |
|
203 |
+ <div class="border-gray" style="padding:5px;border-top:none"> |
|
204 |
+ <div class="row"> |
|
205 |
+ <div class="span2"> |
|
206 |
+ <span title="<%= $commit->{author_email} %>"><%= $commit->{author_name} %></span> |
|
221 | 207 |
</div> |
222 |
- % } |
|
208 |
+ <div class="span7"> |
|
209 |
+ <a style="color:#333" href="<%= url_for("/$user/$project/commit/$commit->{id}") %>"> |
|
210 |
+ <%= $commit->{title_short} %> |
|
211 |
+ </a> |
|
212 |
+ </div> |
|
213 |
+ <div class="span2 text-right" style="margin-left:80px"> |
|
214 |
+ <a href="<%= url_for("/$user/$project/commit/$commit->{id}") %>"> |
|
215 |
+ <%= substr($commit->{id}, 0, 7) %> |
|
216 |
+ </a> |
|
217 |
+ </div> |
|
218 |
+ </div> |
|
223 | 219 |
</div> |
224 | 220 |
% } |
225 | 221 |
</div> |
226 |
- |
|
227 |
- <div class="tab-pane" id="file-changed"> |
|
228 |
- %= include '/include/commit_body'; |
|
229 |
- </div> |
|
230 |
- </div> |
|
222 |
+ % } |
|
223 |
+ |
|
224 |
+ %= include '/include/commit_body'; |
|
231 | 225 |
% } else { |
232 | 226 |
<div class="well" style="padding:35px"> |
233 | 227 |
<div class="text-center" style="margin-bottom:15px"><b>There isn't anything to compare.</b></div> |