Fix searchbar, remove all hellips from shortened shas
This commit is contained in:
@@ -402,6 +402,10 @@ a:hover, a:visited {
|
|||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.results #footer ul.actions li {
|
||||||
|
margin: 0 1em 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* @control minibutton */
|
/* @control minibutton */
|
||||||
ul.actions {
|
ul.actions {
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ $(document).ready(function() {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
var commitSha = $(this).attr('rel');
|
var commitSha = $(this).attr('rel');
|
||||||
var truncatedSha = commitSha.toString().substr(0, 7) + "…";
|
var truncatedSha = commitSha.toString().substr(0, 7);
|
||||||
// revert action
|
// revert action
|
||||||
$.GollumDialog.init({
|
$.GollumDialog.init({
|
||||||
title: 'Revert to ' + truncatedSha + '?',
|
title: 'Revert to ' + truncatedSha + '?',
|
||||||
|
|||||||
@@ -37,10 +37,10 @@
|
|||||||
<td class="commit-name">
|
<td class="commit-name">
|
||||||
<span class="time-elapsed">{{date}}:</span>
|
<span class="time-elapsed">{{date}}:</span>
|
||||||
{{message}}
|
{{message}}
|
||||||
[<a href="/{{escaped_name}}/{{id}}" title="View commit">{{id7}}…</a>]
|
[<a href="/{{escaped_name}}/{{id}}" title="View commit">{{id7}}</a>]
|
||||||
</td>
|
</td>
|
||||||
<td class="revert-action">
|
<td class="revert-action">
|
||||||
<a href="#" title="Revert to this change" rel="{{id}}">Revert to <span>{{id7}}…</span></a>
|
<a href="#" title="Revert to this change" rel="{{id}}">Revert to <span>{{id7}}</span></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/versions}}
|
{{/versions}}
|
||||||
|
|||||||
@@ -28,6 +28,11 @@
|
|||||||
</p>
|
</p>
|
||||||
{{/no_results}}
|
{{/no_results}}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div id="footer">
|
||||||
|
<ul class="actions">
|
||||||
|
<li class="minibutton"><a href="#">Back to Top</a></li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user