mirror of
https://github.com/discourse/discourse.git
synced 2025-06-20 23:01:42 +08:00
UX: Improve git blob oneboxes (#30694)
Rearranges the info at the top of github/gitlab 'blob' oneboxes to make them easier to read
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
<h4><a href="{{link}}" target="_blank" rel="noopener">{{title}}</a></h4>
|
||||
|
||||
<div class="git-blob-info">
|
||||
<a href="{{link}}" rel="noopener"><code>{{sha1}}</code></a>
|
||||
</div>
|
||||
|
||||
{{^binary}}
|
||||
{{^has_lines}}
|
||||
{{#model_file}}
|
||||
|
Reference in New Issue
Block a user