Commit 916650c4 authored by Filipa Lacerda's avatar Filipa Lacerda

Adds links to buttons

parent 3b97c581
...@@ -92,18 +92,26 @@ module.exports = Vue.component('deploy_boards_components', { ...@@ -92,18 +92,26 @@ module.exports = Vue.component('deploy_boards_components', {
<template v-for="instance in deployBoardData.instances"> <template v-for="instance in deployBoardData.instances">
<instance-component <instance-component
:status="instance.status" :status="instance.status"
:tooltipText="instance.tooltipText"> :tooltipText="instance.tooltip">
</instance-component> </instance-component>
</template> </template>
</div> </div>
</section> </section>
<section class="deploy-board-actions"> <section class="deploy-board-actions">
<a class="btn" data-method="post" rel="nofollow"> <a class="btn"
data-method="post"
rel="nofollow"
v-if="deployBoardData.rollback_url"
:href="deployBoardData.rollback_url">
Rollback Rollback
</a> </a>
<a class="btn btn-red btn-inverted"> <a class="btn btn-red btn-inverted"
data-method="post"
rel="nofollow"
v-if="deployBoardData.abort_url"
:href="deployBoardData.abort_url">
Abort Abort
</a> </a>
</section> </section>
......
...@@ -88,8 +88,8 @@ Vue.http.interceptors.push((request, next) => { ...@@ -88,8 +88,8 @@ Vue.http.interceptors.push((request, next) => {
{ status: 'waiting', tooltip: 'tanuki-2358 Waiting' }, { status: 'waiting', tooltip: 'tanuki-2358 Waiting' },
{ status: 'waiting', tooltip: 'tanuki-2359 Waiting' }, { status: 'waiting', tooltip: 'tanuki-2359 Waiting' },
], ],
abort_url: '', abort_url: 'url',
rollback_url: '', rollback_url: 'url',
completion: 87, completion: 87,
is_completed: true, is_completed: true,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment