Skip to content

Commit

Permalink
Merge pull request #904 from HubSpot/fix-deploy-button
Browse files Browse the repository at this point in the history
deploy and edit buttons need to be link elements, not button elements
  • Loading branch information
Tom Petr committed Feb 18, 2016
2 parents 7c79c84 + dcbe3f8 commit 23bbdf7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SingularityUI/app/templates/requestDetail/requestHeader.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
</button>

{{#unless config.hideNewDeployButton}}
<button href="{{appRoot}}/request/{{data.id}}/deploy" class="btn btn-success">
<a href="{{appRoot}}/request/{{data.id}}/deploy" class="btn btn-success">
Deploy
</button>
</a>
{{/unless}}

{{#if data.canBeRunNow}}
Expand Down Expand Up @@ -73,9 +73,9 @@
{{/if}}

{{#unless config.hideNewRequestButton}}
<button class="btn btn-primary" href="{{appRoot}}/requests/edit/{{ data.id }}">
<a class="btn btn-primary" href="{{appRoot}}/requests/edit/{{ data.id }}">
Edit
</button>
</a>
{{/unless}}

{{#if canDisableHealthchecks}}
Expand Down

0 comments on commit 23bbdf7

Please sign in to comment.