Commit 05c38ab8e0f3aa7994eb7000a6f70d77de6b40ad
1 parent
ced4a37a
Exists in
spb-stable
and in
3 other branches
Remove snippet expiration date from UI
Showing
1 changed file
with
0 additions
and
7 deletions
Show diff stats
app/views/projects/snippets/_snippet.html.haml
| @@ -5,13 +5,6 @@ | @@ -5,13 +5,6 @@ | ||
| 5 | %span.cgray.monospace.tiny.pull-right | 5 | %span.cgray.monospace.tiny.pull-right |
| 6 | = snippet.file_name | 6 | = snippet.file_name |
| 7 | 7 | ||
| 8 | - %small.pull-right.cgray | ||
| 9 | - Expires: | ||
| 10 | - - if snippet.expires_at | ||
| 11 | - = snippet.expires_at.to_date.to_s(:short) | ||
| 12 | - - else | ||
| 13 | - Never | ||
| 14 | - | ||
| 15 | .snippet-info | 8 | .snippet-info |
| 16 | = "##{snippet.id}" | 9 | = "##{snippet.id}" |
| 17 | %span | 10 | %span |