提交 574bafbf 编写于 作者: G George Tsiolis 提交者: Clement Ho

Add link component to download viewer component

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册