summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-10-16 13:36:48 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-10-16 13:36:48 +0200
commit47e17103f589b51aa2f6267f56a67c1eb400054f (patch)
treeefccca607f4ee46c1a76d0a043b8d705c43e4198
parent66584f72fd7e9fa8657a711aa12864b76fb71ce4 (diff)
downloadgitlab-ce-47e17103f589b51aa2f6267f56a67c1eb400054f.tar.gz
Change order of sha and commit message on project home page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/assets/stylesheets/pages/projects.scss2
-rw-r--r--app/views/projects/_last_commit.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/stylesheets/pages/projects.scss b/app/assets/stylesheets/pages/projects.scss
index 9fa853a6a39..0dddb6b6ed4 100644
--- a/app/assets/stylesheets/pages/projects.scss
+++ b/app/assets/stylesheets/pages/projects.scss
@@ -524,7 +524,7 @@ pre.light-well {
}
.commit_short_id {
- margin-left: 5px;
+ margin-right: 5px;
color: $gl-link-color;
font-weight: 600;
}
diff --git a/app/views/projects/_last_commit.html.haml b/app/views/projects/_last_commit.html.haml
index 0c16c3ccbf7..d7b20bfc6b1 100644
--- a/app/views/projects/_last_commit.html.haml
+++ b/app/views/projects/_last_commit.html.haml
@@ -5,8 +5,8 @@
= ci_status_icon(ci_commit)
= ci_commit.status
- = link_to_gfm commit.title, namespace_project_commit_path(project.namespace, project, commit.id), class: "commit-row-message"
= link_to commit.short_id, namespace_project_commit_path(project.namespace, project, commit), class: "commit_short_id"
+ = link_to_gfm commit.title, namespace_project_commit_path(project.namespace, project, commit.id), class: "commit-row-message"
&middot;
#{time_ago_with_tooltip(commit.committed_date, skip_js: true)} by
= commit_author_link(commit, avatar: true, size: 24)