diff --git a/plugin/remote/gitlab/gitlab.go b/plugin/remote/gitlab/gitlab.go index 61423297f..b4e07597d 100644 --- a/plugin/remote/gitlab/gitlab.go +++ b/plugin/remote/gitlab/gitlab.go @@ -75,6 +75,7 @@ func (r *Gitlab) GetRepos(user *model.User) ([]*model.Repo, error) { CloneURL: item.HttpRepoUrl, GitURL: item.HttpRepoUrl, SSHURL: item.SshRepoUrl, + URL: item.Url, Role: &model.Perm{}, } diff --git a/server/app/views/commit.html b/server/app/views/commit.html index fbdcc5258..1f398e6c0 100644 --- a/server/app/views/commit.html +++ b/server/app/views/commit.html @@ -11,29 +11,12 @@

{{ commit.duration | toDuration}}

-
-
- - commit - {{ commit.sha | shortHash}} - to {{ commit.branch }} branch - -
-
- - commit - {{ commit.sha | shortHash}} - to {{ commit.branch }} branch - -
-
- commit {{ commit.sha | shortHash}} to {{ commit.branch }} branch -
-
{{ commit.finished_at | fromNow }}
-
Started {{ commit.started_at | fromNow }}
-
Created {{ commit.created_at}}
-
- +
+
+
{{ commit.finished_at | fromNow }}
+
Started {{ commit.started_at | fromNow }}
+
Created {{ commit.created_at}}
+
diff --git a/server/app/views/commit_detail.html b/server/app/views/commit_detail.html new file mode 100644 index 000000000..639b73284 --- /dev/null +++ b/server/app/views/commit_detail.html @@ -0,0 +1,23 @@ + +
+ + commit + {{ commit.sha | shortHash}} + to {{ commit.branch }} branch + +
+ + +
+ + commit + {{ commit.sha | shortHash}} + to {{ commit.branch }} branch + +
+ + +
+ commit {{ commit.sha | shortHash}} to {{ commit.branch }} branch +
+ \ No newline at end of file diff --git a/server/app/views/commit_detail_pr.html b/server/app/views/commit_detail_pr.html new file mode 100644 index 000000000..6669a7b38 --- /dev/null +++ b/server/app/views/commit_detail_pr.html @@ -0,0 +1,31 @@ + +
+ + Pull Request + #{{ commit.pull_request }} + +
+ + +
+ + Pull Request + #{{ commit.pull_request }} + +
+ + +
+ + Pull Request + #{{ commit.pull_request }} + +
+ + +
+ + Pull Request #{{ commit.pull_request }} + +
+ \ No newline at end of file