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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
7e3e4c41
Commit
7e3e4c41
authored
Jun 26, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7190 from Nighoo/gravatar_profile_avatar
do not advertise gravatar in profile if disabled
parents
fb3104da
b6d79b68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
app/views/profiles/show.html.haml
app/views/profiles/show.html.haml
+6
-4
No files found.
app/views/profiles/show.html.haml
View file @
7e3e4c41
...
...
@@ -68,12 +68,14 @@
%p
.light
-
if
@user
.
avatar?
You can change your avatar here
%br
or remove the current avatar to revert to
#{
link_to
"gravatar.com"
,
"http://gravatar.com"
}
-
if
Gitlab
.
config
.
gravatar
.
enabled
%br
or remove the current avatar to revert to
#{
link_to
"gravatar.com"
,
"http://gravatar.com"
}
-
else
You can upload an avatar here
%br
or change it at
#{
link_to
"gravatar.com"
,
"http://gravatar.com"
}
-
if
Gitlab
.
config
.
gravatar
.
enabled
%br
or change it at
#{
link_to
"gravatar.com"
,
"http://gravatar.com"
}
%hr
%a
.choose-btn.btn.btn-small.js-choose-user-avatar-button
%i
.icon-paper-clip
...
...
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