... | ... |
@@ -61,9 +61,11 @@ |
61 | 61 |
<a class="font-black" href="<%= url_for("/$user/$project/commit/$commit->{id}") %>"> |
62 | 62 |
<%= $commit->{title_short} %> |
63 | 63 |
</a> |
64 |
- (<a style="font-size:90%;color:#9999FF" href="<%= url_for("/$user/$project/commit/$commit->{id}?w=") %>"> |
|
65 |
- ignore space |
|
66 |
- </a>) |
|
64 |
+ % if (app->config->{basic}{show_ignore_space_change_link}) { |
|
65 |
+ (<a style="font-size:90%;color:#9999FF" href="<%= url_for("/$user/$project/commit/$commit->{id}?w=") %>"> |
|
66 |
+ ignore space |
|
67 |
+ </a>) |
|
68 |
+ % } |
|
67 | 69 |
[<span style="color:#4183c4" title="<%= $commit->{author_email} %>"><%= $commit->{author_name} %></span>] |
68 | 70 |
</div> |
69 | 71 |
</div> |
... | ... |
@@ -59,9 +59,11 @@ |
59 | 59 |
<i class="icon-share-alt"></i> |
60 | 60 |
<%= substr($commit_id, 0, 7) %> |
61 | 61 |
</a> |
62 |
- (<a style="font-size:90%;color:#9999FF" href="<%= url_for("/$user/$project/commit/$commit_id?w=") %>"> |
|
63 |
- ignore space |
|
64 |
- </a>) |
|
62 |
+ % if (app->config->{basic}{show_ignore_space_change_link}) { |
|
63 |
+ (<a style="font-size:90%;color:#9999FF" href="<%= url_for("/$user/$project/commit/$commit_id?w=") %>"> |
|
64 |
+ ignore space |
|
65 |
+ </a>) |
|
66 |
+ % } |
|
65 | 67 |
<a class="muted" href="<%= url_for("/$user/$project/archive/$name.zip") %>"> |
66 | 68 |
<i class="icon-file"></i> |
67 | 69 |
zip |