GitLab wurde erfolgreich aktualisiert. Dank regelmäßiger Updates bleibt das THM GitLab sicher und Sie profitieren von den neuesten Funktionen. Danke für Ihre Geduld.

Commit 574bafbf authored by George Tsiolis's avatar George Tsiolis Committed by Clement Ho

Add link component to download viewer component

parent 4ad247fd
<script>
import { Link } from '@gitlab-org/gitlab-ui';
import Icon from '../../icon.vue';
import { numberToHumanSize } from '../../../../lib/utils/number_utils';
export default {
components: {
'gl-link': Link,
Icon,
},
props: {
......@@ -37,7 +39,7 @@ export default {
({{ fileSizeReadable }})
</template>
</p>
<a
<gl-link
:href="path"
class="btn btn-default"
rel="nofollow"
......@@ -49,7 +51,7 @@ export default {
css-classes="float-left append-right-8"
/>
{{ __('Download') }}
</a>
</gl-link>
</div>
</div>
</template>
---
title: Add link component to DownloadViewer component
merge_request: 21987
author: George Tsiolis
type: other
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