Commit decf5e7e authored by Simon Knox's avatar Simon Knox

update button colors and text to match designs

parent 46723626
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
type="text" type="text"
id="board-new-name" id="board-new-name"
v-model="board.name" v-model="board.name"
placeholder="Enter board name"
> >
</div> </div>
<div v-if="scopedIssueBoardFeatureEnabled"> <div v-if="scopedIssueBoardFeatureEnabled">
...@@ -202,16 +203,17 @@ export default Vue.extend({ ...@@ -202,16 +203,17 @@ export default Vue.extend({
}, },
buttonText() { buttonText() {
if (this.isNewForm) { if (this.isNewForm) {
return 'Create'; return 'Create board';
} }
if (this.isDeleteForm) { if (this.isDeleteForm) {
return 'Delete'; return 'Delete';
} }
return 'Save changes';
return 'Save';
}, },
buttonKind() { buttonKind() {
if (this.isNewForm) {
return 'success';
}
if (this.isDeleteForm) { if (this.isDeleteForm) {
return 'danger'; return 'danger';
} }
...@@ -221,15 +223,12 @@ export default Vue.extend({ ...@@ -221,15 +223,12 @@ export default Vue.extend({
if (this.isNewForm) { if (this.isNewForm) {
return 'Create new board'; return 'Create new board';
} }
if (this.isDeleteForm) { if (this.isDeleteForm) {
return 'Delete board'; return 'Delete board';
} }
if (this.readonly) { if (this.readonly) {
return 'Board scope'; return 'Board scope';
} }
return 'Edit board'; return 'Edit board';
}, },
milestoneToggleText() { milestoneToggleText() {
......
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