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
Léo-Paul Géneau
gitlab-ce
Commits
7069fac3
Commit
7069fac3
authored
May 08, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add custom sing-in text & google analytics
parent
aee110e2
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
3 deletions
+19
-3
app/views/devise/sessions/new.html.haml
app/views/devise/sessions/new.html.haml
+4
-0
app/views/help/index.html.haml
app/views/help/index.html.haml
+1
-1
app/views/layouts/_google_analytics.html.haml
app/views/layouts/_google_analytics.html.haml
+10
-0
app/views/layouts/_head.html.haml
app/views/layouts/_head.html.haml
+2
-0
app/views/profiles/account.html.haml
app/views/profiles/account.html.haml
+1
-1
app/views/shared/_clone_panel.html.haml
app/views/shared/_clone_panel.html.haml
+1
-1
No files found.
app/views/devise/sessions/new.html.haml
View file @
7069fac3
...
...
@@ -26,3 +26,7 @@
-
resource_class
.
omniauth_providers
.
each
do
|
provider
|
%span
=
link_to
authbutton
(
provider
,
32
),
omniauth_authorize_path
(
resource_name
,
provider
)
-
if
extra_config
.
has_key?
(
'sign_in_text'
)
%hr
=
markdown
(
extra_config
.
sign_in_text
)
app/views/help/index.html.haml
View file @
7069fac3
...
...
@@ -19,7 +19,7 @@
%ul
.well-list
%li
Email your
=
mail_to
Gitlab
.
config
.
gitlab
.
support_email
,
"support contact"
=
mail_to
gitlab_config
.
support_email
,
"support contact"
%li
Use the
=
link_to
"search bar"
,
'#'
,
onclick:
"$('#search').focus();"
...
...
app/views/layouts/_google_analytics.html.haml
0 → 100644
View file @
7069fac3
:javascript
var
_gaq
=
_gaq
||
[];
_gaq
.
push
([
'
_setAccount
'
,
'
#{
gitlab_config
.
google_analytics_id
}
'
]);
_gaq
.
push
([
'
_trackPageview
'
]);
(
function
()
{
var
ga
=
document
.
createElement
(
'
script
'
);
ga
.
type
=
'
text/javascript
'
;
ga
.
async
=
true
;
ga
.
src
=
(
'
https:
'
==
document
.
location
.
protocol
?
'
https://ssl
'
:
'
http://www
'
)
+
'
.google-analytics.com/ga.js
'
;
var
s
=
document
.
getElementsByTagName
(
'
script
'
)[
0
];
s
.
parentNode
.
insertBefore
(
ga
,
s
);
})();
app/views/layouts/_head.html.haml
View file @
7069fac3
...
...
@@ -9,6 +9,8 @@
=
csrf_meta_tags
=
include_gon
=
render
'layouts/google_analytics'
if
gitlab_config
.
has_key?
(
'google_analytics_id'
)
-# Atom feed
-
if
current_user
-
if
controller_name
==
'projects'
&&
action_name
==
'index'
...
...
app/views/profiles/account.html.haml
View file @
7069fac3
...
...
@@ -78,7 +78,7 @@
.input
=
f
.
submit
'Save username'
,
class:
"btn btn-save"
-
if
Gitlab
.
config
.
gitlab
.
signup_enabled
-
if
gitlab_config
.
signup_enabled
%fieldset
.remove-account
%legend
Remove account
...
...
app/views/shared/_clone_panel.html.haml
View file @
7069fac3
.input-prepend.input-append.project_clone_holder
%button
{
class:
"btn active"
,
:"data-clone"
=>
@project
.
ssh_url_to_repo
}
SSH
%button
{
class:
"btn"
,
:"data-clone"
=>
@project
.
http_url_to_repo
}=
Gitlab
.
config
.
gitlab
.
protocol
.
upcase
%button
{
class:
"btn"
,
:"data-clone"
=>
@project
.
http_url_to_repo
}=
gitlab_config
.
protocol
.
upcase
=
text_field_tag
:project_clone
,
@project
.
url_to_repo
,
class:
"one_click_select span7"
,
readonly:
true
%span
.add-on
-
if
@project
.
public
...
...
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