gitlab-org--gitlab-foss/app/assets/javascripts/environments/components/environment_monitoring.vue

33 lines
564 B
Vue
Raw Normal View History

2017-04-20 07:48:54 -04:00
<script>
/**
* Renders the Monitoring (Metrics) link in environments table.
*/
export default {
props: {
monitoringUrl: {
type: String,
required: true,
},
},
computed: {
title() {
return 'Monitoring';
},
},
};
</script>
<template>
<a
2017-06-06 08:58:29 -04:00
class="btn monitoring-url has-tooltip hidden-xs hidden-sm"
2017-04-20 07:48:54 -04:00
data-container="body"
rel="noopener noreferrer nofollow"
:href="monitoringUrl"
:title="title"
:aria-label="title">
<i
class="fa fa-area-chart"
aria-hidden="true" />
</a>
</template>