Commit 91817c59 authored by Phil Hughes's avatar Phil Hughes

Merge branch '301020-use-gl-button' into 'master'

Update link to use GlButton

See merge request gitlab-org/gitlab!53358
parents 24a265ae 368bd25c
...@@ -69,21 +69,21 @@ export default { ...@@ -69,21 +69,21 @@ export default {
<gl-button category="primary" variant="success" class="gl-ml-3" @click="onSubmit"> <gl-button category="primary" variant="success" class="gl-ml-3" @click="onSubmit">
{{ s__('CompareRevisions|Compare') }} {{ s__('CompareRevisions|Compare') }}
</gl-button> </gl-button>
<a <gl-button
v-if="projectMergeRequestPath" v-if="projectMergeRequestPath"
:href="projectMergeRequestPath" :href="projectMergeRequestPath"
data-testid="projectMrButton" data-testid="projectMrButton"
class="btn btn-default gl-button gl-ml-3" class="btn btn-default gl-button gl-ml-3"
> >
{{ s__('CompareRevisions|View open merge request') }} {{ s__('CompareRevisions|View open merge request') }}
</a> </gl-button>
<a <gl-button
v-else-if="createMrPath" v-else-if="createMrPath"
:href="createMrPath" :href="createMrPath"
data-testid="createMrButton" data-testid="createMrButton"
class="btn btn-default gl-button gl-ml-3" class="btn btn-default gl-button gl-ml-3"
> >
{{ s__('CompareRevisions|Create merge request') }} {{ s__('CompareRevisions|Create merge request') }}
</a> </gl-button>
</form> </form>
</template> </template>
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