Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
57f1ff5d
Commit
57f1ff5d
authored
Jul 01, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
parents
0ab708df
b88401c9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
3 deletions
+23
-3
app/assets/stylesheets/sections/tree.scss
app/assets/stylesheets/sections/tree.scss
+1
-0
app/helpers/events_helper.rb
app/helpers/events_helper.rb
+10
-1
app/views/layouts/notify.html.haml
app/views/layouts/notify.html.haml
+4
-0
app/views/notify/project_was_moved_email.html.haml
app/views/notify/project_was_moved_email.html.haml
+5
-1
app/views/notify/project_was_moved_email.text.erb
app/views/notify/project_was_moved_email.text.erb
+3
-1
No files found.
app/assets/stylesheets/sections/tree.scss
View file @
57f1ff5d
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
}
}
td
{
td
{
border-color
:
#F1F1F1
!
important
;
border-color
:
#F1F1F1
!
important
;
border-bottom
:
1px
solid
;
}
}
&
:hover
{
&
:hover
{
td
{
td
{
...
...
app/helpers/events_helper.rb
View file @
57f1ff5d
...
@@ -64,7 +64,16 @@ module EventsHelper
...
@@ -64,7 +64,16 @@ module EventsHelper
project_issue_url
(
event
.
project
,
event
.
issue
)
project_issue_url
(
event
.
project
,
event
.
issue
)
elsif
event
.
merge_request?
elsif
event
.
merge_request?
project_merge_request_url
(
event
.
project
,
event
.
merge_request
)
project_merge_request_url
(
event
.
project
,
event
.
merge_request
)
elsif
event
.
note?
if
event
.
note_target
if
event
.
note_commit?
project_commit_path
(
event
.
project
,
event
.
note_commit_id
,
anchor:
dom_id
(
event
.
target
))
elsif
event
.
note_project_snippet?
project_snippet_path
(
event
.
project
,
event
.
note_target
)
else
event_note_target_path
(
event
)
end
end
elsif
event
.
push?
elsif
event
.
push?
if
event
.
push_with_commits?
if
event
.
push_with_commits?
if
event
.
commits_count
>
1
if
event
.
commits_count
>
1
...
...
app/views/layouts/notify.html.haml
View file @
57f1ff5d
...
@@ -4,6 +4,10 @@
...
@@ -4,6 +4,10 @@
%title
%title
GitLab
GitLab
:css
:css
img
{
max-width
:
100%
;
height
:
auto
;
}
p
.details
{
p
.details
{
font-style
:
italic
;
font-style
:
italic
;
color
:
#777
color
:
#777
...
...
app/views/notify/project_was_moved_email.html.haml
View file @
57f1ff5d
...
@@ -5,7 +5,11 @@
...
@@ -5,7 +5,11 @@
=
link_to
project_url
(
@project
)
do
=
link_to
project_url
(
@project
)
do
=
@project
.
name_with_namespace
=
@project
.
name_with_namespace
%p
%p
To update the remote url in your local repository run:
To update the remote url in your local repository run
(for ssh)
:
%p
{
style:
"background:#f5f5f5; padding:10px; border:1px solid #ddd"
}
%p
{
style:
"background:#f5f5f5; padding:10px; border:1px solid #ddd"
}
git remote set-url origin
#{
@project
.
ssh_url_to_repo
}
git remote set-url origin
#{
@project
.
ssh_url_to_repo
}
%p
or for http(s):
%p
{
style:
"background:#f5f5f5; padding:10px; border:1px solid #ddd"
}
git remote set-url origin
#{
@project
.
http_url_to_repo
}
%br
%br
app/views/notify/project_was_moved_email.text.erb
View file @
57f1ff5d
...
@@ -4,5 +4,7 @@ The project is now located under
...
@@ -4,5 +4,7 @@ The project is now located under
<%=
project_url
(
@project
)
%>
<%=
project_url
(
@project
)
%>
To update the remote url in your local repository run:
To update the remote url in your local repository run
(for ssh)
:
git remote set-url origin
<%=
@project
.
ssh_url_to_repo
%>
git remote set-url origin
<%=
@project
.
ssh_url_to_repo
%>
or for http(s):
git remote set-url origin
<%=
@project
.
http_url_to_repo
%>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment