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