From 824f0b28cf5f07230fd02ab27b73ae2bd93c5b3b Mon Sep 17 00:00:00 2001 From: holan20180123 Date: Thu, 5 Aug 2021 10:40:11 +0800 Subject: [PATCH] * Adjust gitlab browse style. --- module/gitlab/view/browse.html.php | 13 ++++++++++++- module/repo/lang/zh-cn.php | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/module/gitlab/view/browse.html.php b/module/gitlab/view/browse.html.php index 629400146e..31b054a9cf 100644 --- a/module/gitlab/view/browse.html.php +++ b/module/gitlab/view/browse.html.php @@ -16,6 +16,16 @@ " . $lang->gitlab->create, '', "class='btn btn-primary'");?> + +
+

+ noData;?> + + createLink('gitlab', 'create'), " " . $lang->gitlab->create, '', "class='btn btn-info'");?> + +

+
+
@@ -25,7 +35,7 @@ - + @@ -50,4 +60,5 @@ + diff --git a/module/repo/lang/zh-cn.php b/module/repo/lang/zh-cn.php index 5d1b149a80..ad138e6402 100644 --- a/module/repo/lang/zh-cn.php +++ b/module/repo/lang/zh-cn.php @@ -43,7 +43,7 @@ $lang->repo->line = '行'; $lang->repo->expand = '点击展开'; $lang->repo->collapse = '点击折叠'; -$lang->repo->id = '编号'; +$lang->repo->id = 'ID'; $lang->repo->SCM = '类型'; $lang->repo->name = '名称'; $lang->repo->path = '地址';
gitlab->id);?> gitlab->name);?> gitlab->url);?>actions;?>actions;?>