Skip to content

Commit

Permalink
Replace tabs with spaces in the update template.
Browse files Browse the repository at this point in the history
This makes it easier to read the complex logic around the push to
stable/batched buttons.

Signed-off-by: Randy Barlow <[email protected]>
  • Loading branch information
bowlofeggs committed Oct 11, 2017
1 parent e06491f commit cebe8b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bodhi/server/templates/update.html
Original file line number Diff line number Diff line change
Expand Up @@ -506,9 +506,9 @@ <h1>
<a id='testing' class="btn btn-sm btn-success"><span class="fa fa-fw fa-arrow-circle-right"></span> Push to Testing</a>
% endif
% if update.status.description not in ['stable', 'obsolete']:
<a id='batched' class="btn btn-sm btn-success"><span class="fa fa-fw fa-arrow-circle-right"></span> Push to Batched</a>
<a id='batched' class="btn btn-sm btn-success"><span class="fa fa-fw fa-arrow-circle-right"></span> Push to Batched</a>
% endif
% elif update.request.description == 'batched':
% elif update.request.description == 'batched':
<a id='stable' class="btn btn-sm btn-success"><span class="fa fa-fw fa-arrow-circle-right"></span> Push to Stable</a>
% else:
<a id='revoke' class="btn btn-sm btn-danger"><span class="fa fa-fw fa-arrow-circle-left"></span> Revoke</a>
Expand Down

0 comments on commit cebe8b7

Please sign in to comment.