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
Boxiang Sun
gitlab-ce
Commits
26ad2509
Commit
26ad2509
authored
Apr 30, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a page title to every page.
parent
f2cf6d75
Changes
197
Show whitespace changes
Inline
Side-by-side
Showing
197 changed files
with
426 additions
and
390 deletions
+426
-390
CHANGELOG
CHANGELOG
+1
-0
app/controllers/admin/application_controller.rb
app/controllers/admin/application_controller.rb
+7
-1
app/controllers/dashboard/application_controller.rb
app/controllers/dashboard/application_controller.rb
+11
-0
app/controllers/dashboard/groups_controller.rb
app/controllers/dashboard/groups_controller.rb
+1
-1
app/controllers/dashboard/milestones_controller.rb
app/controllers/dashboard/milestones_controller.rb
+1
-1
app/controllers/dashboard/projects_controller.rb
app/controllers/dashboard/projects_controller.rb
+1
-1
app/controllers/dashboard_controller.rb
app/controllers/dashboard_controller.rb
+3
-3
app/controllers/explore/application_controller.rb
app/controllers/explore/application_controller.rb
+11
-0
app/controllers/explore/groups_controller.rb
app/controllers/explore/groups_controller.rb
+1
-3
app/controllers/explore/projects_controller.rb
app/controllers/explore/projects_controller.rb
+1
-3
app/controllers/groups/application_controller.rb
app/controllers/groups/application_controller.rb
+5
-6
app/controllers/groups/avatars_controller.rb
app/controllers/groups/avatars_controller.rb
+0
-2
app/controllers/groups/milestones_controller.rb
app/controllers/groups/milestones_controller.rb
+1
-3
app/controllers/groups_controller.rb
app/controllers/groups_controller.rb
+2
-11
app/controllers/help_controller.rb
app/controllers/help_controller.rb
+4
-4
app/controllers/invites_controller.rb
app/controllers/invites_controller.rb
+0
-2
app/controllers/oauth/applications_controller.rb
app/controllers/oauth/applications_controller.rb
+7
-1
app/controllers/oauth/authorizations_controller.rb
app/controllers/oauth/authorizations_controller.rb
+7
-1
app/controllers/oauth/authorized_applications_controller.rb
app/controllers/oauth/authorized_applications_controller.rb
+9
-1
app/controllers/profiles/accounts_controller.rb
app/controllers/profiles/accounts_controller.rb
+1
-3
app/controllers/profiles/application_controller.rb
app/controllers/profiles/application_controller.rb
+11
-0
app/controllers/profiles/avatars_controller.rb
app/controllers/profiles/avatars_controller.rb
+1
-3
app/controllers/profiles/emails_controller.rb
app/controllers/profiles/emails_controller.rb
+1
-3
app/controllers/profiles/keys_controller.rb
app/controllers/profiles/keys_controller.rb
+1
-2
app/controllers/profiles/notifications_controller.rb
app/controllers/profiles/notifications_controller.rb
+1
-3
app/controllers/profiles/passwords_controller.rb
app/controllers/profiles/passwords_controller.rb
+2
-8
app/controllers/profiles_controller.rb
app/controllers/profiles_controller.rb
+1
-3
app/controllers/projects/application_controller.rb
app/controllers/projects/application_controller.rb
+1
-9
app/controllers/projects/avatars_controller.rb
app/controllers/projects/avatars_controller.rb
+0
-2
app/controllers/projects/forks_controller.rb
app/controllers/projects/forks_controller.rb
+0
-1
app/controllers/projects/uploads_controller.rb
app/controllers/projects/uploads_controller.rb
+0
-2
app/controllers/projects_controller.rb
app/controllers/projects_controller.rb
+14
-8
app/controllers/search_controller.rb
app/controllers/search_controller.rb
+9
-0
app/controllers/snippets_controller.rb
app/controllers/snippets_controller.rb
+3
-8
app/controllers/users_controller.rb
app/controllers/users_controller.rb
+0
-9
app/helpers/application_helper.rb
app/helpers/application_helper.rb
+8
-0
app/helpers/groups_helper.rb
app/helpers/groups_helper.rb
+0
-18
app/helpers/projects_helper.rb
app/helpers/projects_helper.rb
+0
-40
app/views/admin/application_settings/show.html.haml
app/views/admin/application_settings/show.html.haml
+1
-0
app/views/admin/applications/edit.html.haml
app/views/admin/applications/edit.html.haml
+2
-1
app/views/admin/applications/index.html.haml
app/views/admin/applications/index.html.haml
+1
-0
app/views/admin/applications/new.html.haml
app/views/admin/applications/new.html.haml
+2
-1
app/views/admin/applications/show.html.haml
app/views/admin/applications/show.html.haml
+1
-0
app/views/admin/background_jobs/show.html.haml
app/views/admin/background_jobs/show.html.haml
+1
-0
app/views/admin/broadcast_messages/index.html.haml
app/views/admin/broadcast_messages/index.html.haml
+1
-0
app/views/admin/deploy_keys/index.html.haml
app/views/admin/deploy_keys/index.html.haml
+1
-0
app/views/admin/deploy_keys/new.html.haml
app/views/admin/deploy_keys/new.html.haml
+1
-0
app/views/admin/deploy_keys/show.html.haml
app/views/admin/deploy_keys/show.html.haml
+1
-0
app/views/admin/groups/edit.html.haml
app/views/admin/groups/edit.html.haml
+1
-0
app/views/admin/groups/index.html.haml
app/views/admin/groups/index.html.haml
+1
-0
app/views/admin/groups/new.html.haml
app/views/admin/groups/new.html.haml
+1
-0
app/views/admin/groups/show.html.haml
app/views/admin/groups/show.html.haml
+1
-0
app/views/admin/hooks/index.html.haml
app/views/admin/hooks/index.html.haml
+1
-0
app/views/admin/keys/show.html.haml
app/views/admin/keys/show.html.haml
+1
-0
app/views/admin/logs/show.html.haml
app/views/admin/logs/show.html.haml
+1
-0
app/views/admin/projects/index.html.haml
app/views/admin/projects/index.html.haml
+1
-0
app/views/admin/projects/show.html.haml
app/views/admin/projects/show.html.haml
+1
-0
app/views/admin/services/edit.html.haml
app/views/admin/services/edit.html.haml
+1
-0
app/views/admin/services/index.html.haml
app/views/admin/services/index.html.haml
+1
-0
app/views/admin/users/edit.html.haml
app/views/admin/users/edit.html.haml
+1
-0
app/views/admin/users/index.html.haml
app/views/admin/users/index.html.haml
+1
-0
app/views/admin/users/new.html.haml
app/views/admin/users/new.html.haml
+1
-0
app/views/admin/users/show.html.haml
app/views/admin/users/show.html.haml
+1
-0
app/views/dashboard/groups/index.html.haml
app/views/dashboard/groups/index.html.haml
+1
-0
app/views/dashboard/issues.html.haml
app/views/dashboard/issues.html.haml
+1
-0
app/views/dashboard/merge_requests.html.haml
app/views/dashboard/merge_requests.html.haml
+1
-0
app/views/dashboard/milestones/index.html.haml
app/views/dashboard/milestones/index.html.haml
+1
-0
app/views/dashboard/milestones/show.html.haml
app/views/dashboard/milestones/show.html.haml
+1
-0
app/views/dashboard/projects/starred.html.haml
app/views/dashboard/projects/starred.html.haml
+1
-0
app/views/devise/registrations/new.html.haml
app/views/devise/registrations/new.html.haml
+2
-1
app/views/devise/sessions/new.html.haml
app/views/devise/sessions/new.html.haml
+1
-0
app/views/doorkeeper/applications/edit.html.haml
app/views/doorkeeper/applications/edit.html.haml
+2
-1
app/views/doorkeeper/applications/index.html.haml
app/views/doorkeeper/applications/index.html.haml
+2
-1
app/views/doorkeeper/applications/show.html.haml
app/views/doorkeeper/applications/show.html.haml
+1
-0
app/views/errors/access_denied.html.haml
app/views/errors/access_denied.html.haml
+1
-0
app/views/errors/encoding.html.haml
app/views/errors/encoding.html.haml
+1
-0
app/views/errors/git_not_found.html.haml
app/views/errors/git_not_found.html.haml
+1
-0
app/views/errors/not_found.html.haml
app/views/errors/not_found.html.haml
+1
-0
app/views/errors/omniauth_error.html.haml
app/views/errors/omniauth_error.html.haml
+1
-0
app/views/explore/groups/index.html.haml
app/views/explore/groups/index.html.haml
+1
-0
app/views/explore/projects/index.html.haml
app/views/explore/projects/index.html.haml
+1
-0
app/views/explore/projects/starred.html.haml
app/views/explore/projects/starred.html.haml
+1
-0
app/views/explore/projects/trending.html.haml
app/views/explore/projects/trending.html.haml
+1
-0
app/views/groups/_settings_nav.html.haml
app/views/groups/_settings_nav.html.haml
+0
-11
app/views/groups/edit.html.haml
app/views/groups/edit.html.haml
+1
-0
app/views/groups/group_members/index.html.haml
app/views/groups/group_members/index.html.haml
+1
-0
app/views/groups/issues.html.haml
app/views/groups/issues.html.haml
+1
-0
app/views/groups/merge_requests.html.haml
app/views/groups/merge_requests.html.haml
+1
-0
app/views/groups/milestones/index.html.haml
app/views/groups/milestones/index.html.haml
+1
-0
app/views/groups/milestones/show.html.haml
app/views/groups/milestones/show.html.haml
+1
-0
app/views/groups/projects.html.haml
app/views/groups/projects.html.haml
+1
-0
app/views/help/index.html.haml
app/views/help/index.html.haml
+1
-0
app/views/help/show.html.haml
app/views/help/show.html.haml
+1
-0
app/views/help/ui.html.haml
app/views/help/ui.html.haml
+1
-0
app/views/import/bitbucket/status.html.haml
app/views/import/bitbucket/status.html.haml
+1
-0
app/views/import/github/status.html.haml
app/views/import/github/status.html.haml
+1
-0
app/views/import/gitlab/status.html.haml
app/views/import/gitlab/status.html.haml
+1
-0
app/views/import/gitorious/status.html.haml
app/views/import/gitorious/status.html.haml
+1
-0
app/views/import/google_code/new.html.haml
app/views/import/google_code/new.html.haml
+1
-0
app/views/import/google_code/new_user_map.html.haml
app/views/import/google_code/new_user_map.html.haml
+1
-0
app/views/import/google_code/status.html.haml
app/views/import/google_code/status.html.haml
+1
-0
app/views/invites/show.html.haml
app/views/invites/show.html.haml
+1
-0
app/views/layouts/_head.html.haml
app/views/layouts/_head.html.haml
+2
-3
app/views/layouts/_page.html.haml
app/views/layouts/_page.html.haml
+2
-2
app/views/layouts/admin.html.haml
app/views/layouts/admin.html.haml
+0
-6
app/views/layouts/application.html.haml
app/views/layouts/application.html.haml
+11
-4
app/views/layouts/errors.html.haml
app/views/layouts/errors.html.haml
+1
-1
app/views/layouts/explore.html.haml
app/views/layouts/explore.html.haml
+0
-12
app/views/layouts/group.html.haml
app/views/layouts/group.html.haml
+0
-6
app/views/layouts/nav/_group.html.haml
app/views/layouts/nav/_group.html.haml
+12
-1
app/views/layouts/nav/_project.html.haml
app/views/layouts/nav/_project.html.haml
+72
-84
app/views/layouts/nav/_project_settings.html.haml
app/views/layouts/nav/_project_settings.html.haml
+41
-0
app/views/layouts/navless.html.haml
app/views/layouts/navless.html.haml
+0
-7
app/views/layouts/profile.html.haml
app/views/layouts/profile.html.haml
+0
-6
app/views/layouts/project.html.haml
app/views/layouts/project.html.haml
+14
-0
app/views/layouts/project_settings.html.haml
app/views/layouts/project_settings.html.haml
+2
-8
app/views/layouts/projects.html.haml
app/views/layouts/projects.html.haml
+0
-7
app/views/layouts/public_group.html.haml
app/views/layouts/public_group.html.haml
+0
-6
app/views/layouts/public_projects.html.haml
app/views/layouts/public_projects.html.haml
+0
-6
app/views/layouts/public_users.html.haml
app/views/layouts/public_users.html.haml
+0
-6
app/views/layouts/search.html.haml
app/views/layouts/search.html.haml
+0
-6
app/views/layouts/snippets.html.haml
app/views/layouts/snippets.html.haml
+0
-6
app/views/profiles/accounts/show.html.haml
app/views/profiles/accounts/show.html.haml
+1
-0
app/views/profiles/applications.html.haml
app/views/profiles/applications.html.haml
+1
-0
app/views/profiles/design.html.haml
app/views/profiles/design.html.haml
+1
-0
app/views/profiles/emails/index.html.haml
app/views/profiles/emails/index.html.haml
+1
-0
app/views/profiles/history.html.haml
app/views/profiles/history.html.haml
+1
-0
app/views/profiles/keys/index.html.haml
app/views/profiles/keys/index.html.haml
+1
-0
app/views/profiles/keys/new.html.haml
app/views/profiles/keys/new.html.haml
+1
-0
app/views/profiles/keys/show.html.haml
app/views/profiles/keys/show.html.haml
+1
-0
app/views/profiles/notifications/show.html.haml
app/views/profiles/notifications/show.html.haml
+1
-0
app/views/profiles/passwords/edit.html.haml
app/views/profiles/passwords/edit.html.haml
+1
-0
app/views/profiles/show.html.haml
app/views/profiles/show.html.haml
+1
-0
app/views/projects/_settings_nav.html.haml
app/views/projects/_settings_nav.html.haml
+0
-31
app/views/projects/blame/show.html.haml
app/views/projects/blame/show.html.haml
+1
-0
app/views/projects/blob/edit.html.haml
app/views/projects/blob/edit.html.haml
+1
-0
app/views/projects/blob/new.html.haml
app/views/projects/blob/new.html.haml
+1
-0
app/views/projects/blob/show.html.haml
app/views/projects/blob/show.html.haml
+1
-0
app/views/projects/branches/index.html.haml
app/views/projects/branches/index.html.haml
+1
-0
app/views/projects/branches/new.html.haml
app/views/projects/branches/new.html.haml
+1
-0
app/views/projects/commit/show.html.haml
app/views/projects/commit/show.html.haml
+1
-0
app/views/projects/commits/show.html.haml
app/views/projects/commits/show.html.haml
+1
-0
app/views/projects/compare/index.html.haml
app/views/projects/compare/index.html.haml
+1
-0
app/views/projects/compare/show.html.haml
app/views/projects/compare/show.html.haml
+1
-0
app/views/projects/deploy_keys/index.html.haml
app/views/projects/deploy_keys/index.html.haml
+1
-0
app/views/projects/deploy_keys/new.html.haml
app/views/projects/deploy_keys/new.html.haml
+1
-0
app/views/projects/deploy_keys/show.html.haml
app/views/projects/deploy_keys/show.html.haml
+1
-0
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+1
-0
app/views/projects/forks/error.html.haml
app/views/projects/forks/error.html.haml
+1
-0
app/views/projects/forks/new.html.haml
app/views/projects/forks/new.html.haml
+1
-0
app/views/projects/graphs/commits.html.haml
app/views/projects/graphs/commits.html.haml
+1
-0
app/views/projects/graphs/show.html.haml
app/views/projects/graphs/show.html.haml
+1
-0
app/views/projects/hooks/index.html.haml
app/views/projects/hooks/index.html.haml
+1
-0
app/views/projects/imports/new.html.haml
app/views/projects/imports/new.html.haml
+1
-0
app/views/projects/imports/show.html.haml
app/views/projects/imports/show.html.haml
+1
-0
app/views/projects/issues/edit.html.haml
app/views/projects/issues/edit.html.haml
+1
-0
app/views/projects/issues/index.html.haml
app/views/projects/issues/index.html.haml
+1
-0
app/views/projects/issues/new.html.haml
app/views/projects/issues/new.html.haml
+1
-0
app/views/projects/issues/show.html.haml
app/views/projects/issues/show.html.haml
+1
-0
app/views/projects/labels/edit.html.haml
app/views/projects/labels/edit.html.haml
+1
-0
app/views/projects/labels/index.html.haml
app/views/projects/labels/index.html.haml
+1
-0
app/views/projects/labels/new.html.haml
app/views/projects/labels/new.html.haml
+1
-0
app/views/projects/merge_requests/_show.html.haml
app/views/projects/merge_requests/_show.html.haml
+1
-0
app/views/projects/merge_requests/edit.html.haml
app/views/projects/merge_requests/edit.html.haml
+1
-0
app/views/projects/merge_requests/index.html.haml
app/views/projects/merge_requests/index.html.haml
+1
-0
app/views/projects/merge_requests/invalid.html.haml
app/views/projects/merge_requests/invalid.html.haml
+1
-0
app/views/projects/merge_requests/new.html.haml
app/views/projects/merge_requests/new.html.haml
+1
-0
app/views/projects/milestones/edit.html.haml
app/views/projects/milestones/edit.html.haml
+1
-0
app/views/projects/milestones/index.html.haml
app/views/projects/milestones/index.html.haml
+1
-0
app/views/projects/milestones/new.html.haml
app/views/projects/milestones/new.html.haml
+1
-0
app/views/projects/milestones/show.html.haml
app/views/projects/milestones/show.html.haml
+1
-0
app/views/projects/network/show.html.haml
app/views/projects/network/show.html.haml
+1
-0
app/views/projects/project_members/import.html.haml
app/views/projects/project_members/import.html.haml
+1
-0
app/views/projects/project_members/index.html.haml
app/views/projects/project_members/index.html.haml
+1
-0
app/views/projects/protected_branches/index.html.haml
app/views/projects/protected_branches/index.html.haml
+1
-0
app/views/projects/services/edit.html.haml
app/views/projects/services/edit.html.haml
+1
-0
app/views/projects/services/index.html.haml
app/views/projects/services/index.html.haml
+1
-0
app/views/projects/snippets/edit.html.haml
app/views/projects/snippets/edit.html.haml
+1
-0
app/views/projects/snippets/index.html.haml
app/views/projects/snippets/index.html.haml
+1
-0
app/views/projects/snippets/new.html.haml
app/views/projects/snippets/new.html.haml
+1
-0
app/views/projects/snippets/show.html.haml
app/views/projects/snippets/show.html.haml
+1
-0
app/views/projects/tags/index.html.haml
app/views/projects/tags/index.html.haml
+1
-0
app/views/projects/tags/new.html.haml
app/views/projects/tags/new.html.haml
+1
-0
app/views/projects/tree/show.html.haml
app/views/projects/tree/show.html.haml
+1
-0
app/views/projects/wikis/edit.html.haml
app/views/projects/wikis/edit.html.haml
+1
-0
app/views/projects/wikis/empty.html.haml
app/views/projects/wikis/empty.html.haml
+1
-0
app/views/projects/wikis/git_access.html.haml
app/views/projects/wikis/git_access.html.haml
+1
-0
app/views/projects/wikis/history.html.haml
app/views/projects/wikis/history.html.haml
+1
-0
app/views/projects/wikis/pages.html.haml
app/views/projects/wikis/pages.html.haml
+1
-0
app/views/projects/wikis/show.html.haml
app/views/projects/wikis/show.html.haml
+1
-0
app/views/search/show.html.haml
app/views/search/show.html.haml
+1
-0
app/views/snippets/current_user_index.html.haml
app/views/snippets/current_user_index.html.haml
+1
-0
app/views/snippets/edit.html.haml
app/views/snippets/edit.html.haml
+1
-0
app/views/snippets/index.html.haml
app/views/snippets/index.html.haml
+1
-0
app/views/snippets/new.html.haml
app/views/snippets/new.html.haml
+1
-0
app/views/snippets/show.html.haml
app/views/snippets/show.html.haml
+1
-0
app/views/snippets/user_index.html.haml
app/views/snippets/user_index.html.haml
+1
-0
No files found.
CHANGELOG
View file @
26ad2509
...
...
@@ -2,6 +2,7 @@ Please view this file on the master branch, on stable branches it's out of date.
v 7.11.0 (unreleased)
- Don't allow a merge request to be merged when its title starts with "WIP".
- Add a page title to every page.
- Get Gitorious importer to work again.
- Fix clone URL field and X11 Primary selection (Dmitry Medvinsky)
- Ignore invalid lines in .gitmodules
...
...
app/controllers/admin/application_controller.rb
View file @
26ad2509
...
...
@@ -2,10 +2,16 @@
#
# Automatically sets the layout and ensures an administrator is logged in
class
Admin::ApplicationController
<
ApplicationController
layout
'admin'
before_action
:authenticate_admin!
before_action
:set_title
def
authenticate_admin!
return
render_404
unless
current_user
.
is_admin?
end
def
set_title
@title
=
"Admin area"
@title_url
=
admin_root_path
@sidebar
=
"admin"
end
end
app/controllers/dashboard/application_controller.rb
0 → 100644
View file @
26ad2509
class
Dashboard::ApplicationController
<
ApplicationController
before_action
:set_title
private
def
set_title
@title
=
"Dashboard"
@title_url
=
root_path
@sidebar
=
"dashboard"
end
end
app/controllers/dashboard/groups_controller.rb
View file @
26ad2509
class
Dashboard::GroupsController
<
ApplicationController
class
Dashboard::GroupsController
<
Dashboard
::
ApplicationController
def
index
@group_members
=
current_user
.
group_members
.
page
(
params
[
:page
]).
per
(
PER_PAGE
)
end
...
...
app/controllers/dashboard/milestones_controller.rb
View file @
26ad2509
class
Dashboard::MilestonesController
<
ApplicationController
class
Dashboard::MilestonesController
<
Dashboard
::
ApplicationController
before_action
:load_projects
def
index
...
...
app/controllers/dashboard/projects_controller.rb
View file @
26ad2509
class
Dashboard::ProjectsController
<
ApplicationController
class
Dashboard::ProjectsController
<
Dashboard
::
ApplicationController
before_action
:event_filter
def
starred
...
...
app/controllers/dashboard_controller.rb
View file @
26ad2509
class
DashboardController
<
ApplicationController
respond_to
:html
class
DashboardController
<
Dashboard
::
ApplicationController
before_action
:load_projects
,
except:
[
:projects
]
before_action
:event_filter
,
only: :show
respond_to
:html
def
show
@projects
=
@projects
.
includes
(
:namespace
)
@last_push
=
current_user
.
recent_push
...
...
app/controllers/explore/application_controller.rb
0 → 100644
View file @
26ad2509
class
Explore::ApplicationController
<
ApplicationController
before_action
:set_title
private
def
set_title
@title
=
"Explore GitLab"
@title_url
=
explore_root_path
@sidebar
=
"explore"
end
end
app/controllers/explore/groups_controller.rb
View file @
26ad2509
class
Explore::GroupsController
<
ApplicationController
class
Explore::GroupsController
<
Explore
::
ApplicationController
skip_before_action
:authenticate_user!
,
:reject_blocked
,
:set_current_user_for_observers
layout
"explore"
def
index
@groups
=
GroupsFinder
.
new
.
execute
(
current_user
)
@groups
=
@groups
.
search
(
params
[
:search
])
if
params
[
:search
].
present?
...
...
app/controllers/explore/projects_controller.rb
View file @
26ad2509
class
Explore::ProjectsController
<
ApplicationController
class
Explore::ProjectsController
<
Explore
::
ApplicationController
skip_before_action
:authenticate_user!
,
:reject_blocked
layout
'explore'
def
index
@projects
=
ProjectsFinder
.
new
.
execute
(
current_user
)
@tags
=
@projects
.
tags_on
(
:tags
)
...
...
app/controllers/groups/application_controller.rb
View file @
26ad2509
class
Groups::ApplicationController
<
ApplicationController
before_action
:set_title
private
...
...
@@ -18,11 +19,9 @@ class Groups::ApplicationController < ApplicationController
end
end
def
determine_layout
if
current_user
'group'
else
'public_group'
end
def
set_title
@title
=
group
.
name
@title_url
=
group_path
(
group
)
@sidebar
=
"group"
end
end
app/controllers/groups/avatars_controller.rb
View file @
26ad2509
class
Groups::AvatarsController
<
ApplicationController
layout
"profile"
def
destroy
@group
=
Group
.
find_by
(
path:
params
[
:group_id
])
@group
.
remove_avatar!
...
...
app/controllers/groups/milestones_controller.rb
View file @
26ad2509
class
Groups::MilestonesController
<
ApplicationController
layout
'group'
class
Groups::MilestonesController
<
Groups
::
ApplicationController
before_action
:authorize_group_milestone!
,
only: :update
def
index
...
...
app/controllers/groups_controller.rb
View file @
26ad2509
...
...
@@ -11,9 +11,6 @@ class GroupsController < Groups::ApplicationController
# Load group projects
before_action
:load_projects
,
except:
[
:new
,
:create
,
:projects
,
:edit
,
:update
]
before_action
:event_filter
,
only: :show
before_action
:set_title
,
only:
[
:new
,
:create
]
layout
:determine_layout
def
new
@group
=
Group
.
new
...
...
@@ -120,16 +117,10 @@ class GroupsController < Groups::ApplicationController
end
def
set_title
@title
=
'New Group'
end
def
determine_layout
if
[
:new
,
:create
].
include?
(
action_name
.
to_sym
)
'navless'
elsif
current_user
'group'
@title
=
'New Group'
else
'public_group'
super
end
end
...
...
app/controllers/help_controller.rb
View file @
26ad2509
...
...
@@ -3,12 +3,12 @@ class HelpController < ApplicationController
end
def
show
category
=
clean_path_info
(
path_params
[
:category
])
file
=
path_params
[
:file
]
@
category
=
clean_path_info
(
path_params
[
:category
])
@
file
=
path_params
[
:file
]
respond_to
do
|
format
|
format
.
any
(
:markdown
,
:md
,
:html
)
do
path
=
Rails
.
root
.
join
(
'doc'
,
category
,
"
#{
file
}
.md"
)
path
=
Rails
.
root
.
join
(
'doc'
,
@category
,
"
#{
@
file
}
.md"
)
if
File
.
exist?
(
path
)
@markdown
=
File
.
read
(
path
)
...
...
@@ -22,7 +22,7 @@ class HelpController < ApplicationController
# Allow access to images in the doc folder
format
.
any
(
:png
,
:gif
,
:jpeg
)
do
path
=
Rails
.
root
.
join
(
'doc'
,
category
,
"
#{
file
}
.
#{
params
[
:format
]
}
"
)
path
=
Rails
.
root
.
join
(
'doc'
,
@category
,
"
#{
@
file
}
.
#{
params
[
:format
]
}
"
)
if
File
.
exist?
(
path
)
send_file
(
path
,
disposition:
'inline'
)
...
...
app/controllers/invites_controller.rb
View file @
26ad2509
...
...
@@ -4,8 +4,6 @@ class InvitesController < ApplicationController
respond_to
:html
layout
'navless'
def
show
end
...
...
app/controllers/oauth/applications_controller.rb
View file @
26ad2509
class
Oauth::ApplicationsController
<
Doorkeeper
::
ApplicationsController
before_action
:authenticate_user!
layout
"profile"
before_action
:set_title
def
index
head
:forbidden
and
return
...
...
@@ -36,4 +36,10 @@ class Oauth::ApplicationsController < Doorkeeper::ApplicationsController
rescue_from
ActiveRecord
::
RecordNotFound
do
|
exception
|
render
"errors/not_found"
,
layout:
"errors"
,
status:
404
end
def
set_title
@title
=
"Profile"
@title_url
=
profile_path
@sidebar
=
"profile"
end
end
app/controllers/oauth/authorizations_controller.rb
View file @
26ad2509
class
Oauth::AuthorizationsController
<
Doorkeeper
::
AuthorizationsController
before_action
:authenticate_resource_owner!
layout
"profile"
before_action
:set_title
def
new
if
pre_auth
.
authorizable?
...
...
@@ -54,4 +54,10 @@ class Oauth::AuthorizationsController < Doorkeeper::AuthorizationsController
def
strategy
@strategy
||=
server
.
authorization_request
(
pre_auth
.
response_type
)
end
def
set_title
@title
=
"Profile"
@title_url
=
profile_path
@sidebar
=
"profile"
end
end
app/controllers/oauth/authorized_applications_controller.rb
View file @
26ad2509
class
Oauth::AuthorizedApplicationsController
<
Doorkeeper
::
AuthorizedApplicationsController
layout
"profile"
before_filter
:set_title
def
destroy
Doorkeeper
::
AccessToken
.
revoke_all_for
(
params
[
:id
],
current_resource_owner
)
redirect_to
applications_profile_url
,
notice:
I18n
.
t
(
:notice
,
scope:
[
:doorkeeper
,
:flash
,
:authorized_applications
,
:destroy
])
end
private
def
set_title
@title
=
"Profile"
@title_url
=
profile_path
@sidebar
=
"profile"
end
end
app/controllers/profiles/accounts_controller.rb
View file @
26ad2509
class
Profiles::AccountsController
<
ApplicationController
layout
"profile"
class
Profiles::AccountsController
<
Profiles
::
ApplicationController
def
show
@user
=
current_user
end
...
...
app/controllers/profiles/application_controller.rb
0 → 100644
View file @
26ad2509
class
Profiles::ApplicationController
<
ApplicationController
before_action
:set_title
private
def
set_title
@title
=
"Profile"
@title_url
=
profile_path
@sidebar
=
"profile"
end
end
app/controllers/profiles/avatars_controller.rb
View file @
26ad2509
class
Profiles::AvatarsController
<
ApplicationController
layout
"profile"
class
Profiles::AvatarsController
<
Profiles
::
ApplicationController
def
destroy
@user
=
current_user
@user
.
remove_avatar!
...
...
app/controllers/profiles/emails_controller.rb
View file @
26ad2509
class
Profiles::EmailsController
<
ApplicationController
layout
"profile"
class
Profiles::EmailsController
<
Profiles
::
ApplicationController
def
index
@primary
=
current_user
.
email
@public_email
=
current_user
.
public_email
...
...
app/controllers/profiles/keys_controller.rb
View file @
26ad2509
class
Profiles::KeysController
<
ApplicationController
layout
"profile"
class
Profiles::KeysController
<
Profiles
::
ApplicationController
skip_before_action
:authenticate_user!
,
only:
[
:get_keys
]
def
index
...
...
app/controllers/profiles/notifications_controller.rb
View file @
26ad2509
class
Profiles::NotificationsController
<
ApplicationController
layout
'profile'
class
Profiles::NotificationsController
<
Profiles
::
ApplicationController
def
show
@user
=
current_user
@notification
=
current_user
.
notification
...
...
app/controllers/profiles/passwords_controller.rb
View file @
26ad2509
class
Profiles::PasswordsController
<
ApplicationController
layout
:determine_layout
skip_before_action
:check_password_expiration
,
only:
[
:new
,
:create
]
before_action
:set_user
...
...
@@ -67,14 +65,10 @@ class Profiles::PasswordsController < ApplicationController
end
def
set_title
@title
=
"New password"
end
def
determine_layout
if
[
:new
,
:create
].
include?
(
action_name
.
to_sym
)
'navless'
@title
=
"New password"
else
'profile'
super
end
end
...
...
app/controllers/profiles_controller.rb
View file @
26ad2509
class
ProfilesController
<
ApplicationController
class
ProfilesController
<
Profiles
::
ApplicationController
include
ActionView
::
Helpers
::
SanitizeHelper
before_action
:user
before_action
:authorize_change_username!
,
only: :update_username
skip_before_action
:require_email
,
only:
[
:show
,
:update
]
layout
'profile'
def
show
end
...
...
app/controllers/projects/application_controller.rb
View file @
26ad2509
class
Projects::ApplicationController
<
ApplicationController
before_action
:project
before_action
:repository
layout
:determine_layout
layout
'project'
def
authenticate_user!
# Restrict access to Projects area only
...
...
@@ -17,14 +17,6 @@ class Projects::ApplicationController < ApplicationController
super
end
def
determine_layout
if
current_user
'projects'
else
'public_projects'
end
end
def
require_branch_head
unless
@repository
.
branch_names
.
include?
(
@ref
)
redirect_to
(
...
...
app/controllers/projects/avatars_controller.rb
View file @
26ad2509
class
Projects::AvatarsController
<
Projects
::
ApplicationController
layout
'project'
before_action
:project
def
show
...
...
app/controllers/projects/forks_controller.rb
View file @
26ad2509
...
...
@@ -18,7 +18,6 @@ class Projects::ForksController < Projects::ApplicationController
notice:
'Project was successfully forked.'
)
else
@title
=
'Fork project'
render
:error
end
end
...
...
app/controllers/projects/uploads_controller.rb
View file @
26ad2509
class
Projects::UploadsController
<
Projects
::
ApplicationController
layout
'project'
skip_before_action
:authenticate_user!
,
:reject_blocked!
,
:project
,
:repository
,
if:
->
{
action_name
==
'show'
&&
image?
}
...
...
app/controllers/projects_controller.rb
View file @
26ad2509
...
...
@@ -9,14 +9,14 @@ class ProjectsController < ApplicationController
before_action
:set_title
,
only:
[
:new
,
:create
]
before_action
:event_filter
,
only: :show
layout
'navless'
,
only:
[
:new
,
:create
,
:fork
]
layout
:determine_layout
def
new
@project
=
Project
.
new
end
def
edit
render
'edit'
,
layout:
'project_settings'
render
'edit'
end
def
create
...
...
@@ -46,7 +46,7 @@ class ProjectsController < ApplicationController
end
format
.
js
else
format
.
html
{
render
'edit'
,
layout:
'project_settings'
}
format
.
html
{
render
'edit'
}
format
.
js
end
end
...
...
@@ -72,13 +72,13 @@ class ProjectsController < ApplicationController
format
.
html
do
if
@project
.
repository_exists?
if
@project
.
empty_repo?
render
'projects/empty'
,
layout:
user_layout
render
'projects/empty'
else
@last_push
=
current_user
.
recent_push
(
@project
.
id
)
if
current_user
render
:show
,
layout:
user_layout
render
:show
end
else
render
'projects/no_repo'
,
layout:
user_layout
render
'projects/no_repo'
end
end
...
...
@@ -164,8 +164,14 @@ class ProjectsController < ApplicationController
@title
=
'New Project'
end
def
user_layout
current_user
?
'projects'
:
'public_projects'
def
determine_layout
if
[
:new
,
:create
].
include?
(
action_name
.
to_sym
)
'application'
elsif
[
:edit
,
:update
].
include?
(
action_name
.
to_sym
)
'project_settings'
else
'project'
end
end
def
load_events
...
...
app/controllers/search_controller.rb
View file @
26ad2509
class
SearchController
<
ApplicationController
include
SearchHelper
before_action
:set_title
def
show
return
if
params
[
:search
].
nil?
||
params
[
:search
].
blank?
...
...
@@ -55,4 +57,11 @@ class SearchController < ApplicationController
render
json:
search_autocomplete_opts
(
term
).
to_json
end
private
def
set_title
@title
=
"Search"
@title_url
=
search_path
end
end
app/controllers/snippets_controller.rb
View file @
26ad2509
...
...
@@ -13,8 +13,6 @@ class SnippetsController < ApplicationController
respond_to
:html
layout
:determine_layout
def
index
if
params
[
:username
].
present?
@user
=
User
.
find_by
(
username:
params
[
:username
])
...
...
@@ -101,13 +99,10 @@ class SnippetsController < ApplicationController
def
set_title
@title
=
'Snippets'
@title_url
=
snippets_path
@sidebar
=
"snippets"
end
def
snippet_params
params
.
require
(
:personal_snippet
).
permit
(
:title
,
:content
,
:file_name
,
:private
,
:visibility_level
)
end
def
determine_layout
current_user
?
'snippets'
:
'public_users'
end
end
app/controllers/users_controller.rb
View file @
26ad2509
class
UsersController
<
ApplicationController
skip_before_action
:authenticate_user!
before_action
:set_user
layout
:determine_layout
def
show
@contributed_projects
=
contributed_projects
.
joined
(
@user
).
...
...
@@ -51,14 +50,6 @@ class UsersController < ApplicationController
render
'calendar_activities'
,
layout:
false
end
def
determine_layout
if
current_user
'navless'
else
'public_users'
end
end
private
def
set_user
...
...
app/helpers/application_helper.rb
View file @
26ad2509
...
...
@@ -332,4 +332,12 @@ module ApplicationHelper
end
"
#{
entity_title
}#{
count
}
"
end
def
page_title
(
*
titles
)
@page_title
||=
[]
@page_title
.
push
(
*
titles
.
compact
)
if
titles
.
any?
@page_title
.
join
(
" | "
)
end
end
app/helpers/groups_helper.rb
View file @
26ad2509
...
...
@@ -19,24 +19,6 @@ module GroupsHelper
end
end
def
group_head_title
title
=
@group
.
name
title
=
if
current_action?
(
:issues
)
"Issues - "
+
title
elsif
current_action?
(
:merge_requests
)
"Merge requests - "
+
title
elsif
current_action?
(
:members
)
"Members - "
+
title
elsif
current_action?
(
:edit
)
"Settings - "
+
title
else
title
end
title
end
def
group_settings_page?
if
current_controller?
(
'groups'
)
current_action?
(
'edit'
)
||
current_action?
(
'projects'
)
...
...
app/helpers/projects_helper.rb
View file @
26ad2509
...
...
@@ -192,46 +192,6 @@ module ProjectsHelper
'unknown'
end
def
project_head_title
title
=
@project
.
name_with_namespace
title
=
if
current_controller?
(
:tree
)
"
#{
@project
.
path
}
\/
#{
@path
}
at
#{
@ref
}
- "
+
title
elsif
current_controller?
(
:issues
)
if
current_action?
(
:show
)
"Issue #
#{
@issue
.
iid
}
-
#{
@issue
.
title
}
- "
+
title
else
"Issues - "
+
title
end
elsif
current_controller?
(
:blob
)
if
current_action?
(
:new
)
||
current_action?
(
:create
)
"New file at
#{
@ref
}
"
elsif
current_action?
(
:show
)
"
#{
@blob
.
path
}
at
#{
@ref
}
"
elsif
@blob
"Edit file
#{
@blob
.
path
}
at
#{
@ref
}
"
end
elsif
current_controller?
(
:commits
)
"Commits at
#{
@ref
}
- "
+
title
elsif
current_controller?
(
:merge_requests
)
if
current_action?
(
:show
)
"Merge request #
#{
@merge_request
.
iid
}
- "
+
title
else
"Merge requests - "
+
title
end
elsif
current_controller?
(
:wikis
)
"Wiki - "
+
title
elsif
current_controller?
(
:network
)
"Network graph - "
+
title
elsif
current_controller?
(
:graphs
)
"Graphs - "
+
title
else
title
end
title
end
def
default_url_to_repo
(
project
=
nil
)
project
=
project
||
@project
current_user
?
project
.
url_to_repo
:
project
.
http_url_to_repo
...
...
app/views/admin/application_settings/show.html.haml
View file @
26ad2509
-
page_title
"Settings"
%h3
.page-title
Application settings
%hr
=
render
'form'
app/views/admin/applications/edit.html.haml
View file @
26ad2509
-
page_title
"Edit"
,
@application
.
name
,
"Applications"
%h3
.page-title
Edit application
-
@url
=
admin_application_path
(
@application
)
=
render
'form'
,
application:
@application
app/views/admin/applications/index.html.haml
View file @
26ad2509
-
page_title
"Applications"
%h3
.page-title
System OAuth applications
%p
.light
...
...
app/views/admin/applications/new.html.haml
View file @
26ad2509
-
page_title
"New application"
%h3
.page-title
New application
-
@url
=
admin_applications_path
=
render
'form'
,
application:
@application
app/views/admin/applications/show.html.haml
View file @
26ad2509
-
page_title
@application
.
name
,
"Applications"
%h3
.page-title
Application:
#{
@application
.
name
}
...
...
app/views/admin/background_jobs/show.html.haml
View file @
26ad2509
-
page_title
"Background Jobs"
%h3
.page-title
Background Jobs
%p
.light
GitLab uses
#{
link_to
"sidekiq"
,
"http://sidekiq.org/"
}
library for async job processing
...
...
app/views/admin/broadcast_messages/index.html.haml
View file @
26ad2509
-
page_title
"Broadcast Messages"
%h3
.page-title
Broadcast Messages
%p
.light
...
...
app/views/admin/deploy_keys/index.html.haml
View file @
26ad2509
-
page_title
"Deploy Keys"
.panel.panel-default
.panel-heading
Public deploy keys (
#{
@deploy_keys
.
count
}
)
...
...
app/views/admin/deploy_keys/new.html.haml
View file @
26ad2509
-
page_title
"New Deploy Key"
%h3
.page-title
New public deploy key
%hr
...
...
app/views/admin/deploy_keys/show.html.haml
View file @
26ad2509
-
page_title
@deploy_key
.
title
,
"Deploy Keys"
.row
.col-md-4
.panel.panel-default
...
...
app/views/admin/groups/edit.html.haml
View file @
26ad2509
-
page_title
"Edit"
,
@group
.
name
,
"Groups"
%h3
.page-title
Edit group:
#{
@group
.
name
}
%hr
=
render
'form'
app/views/admin/groups/index.html.haml
View file @
26ad2509
-
page_title
"Groups"
%h3
.page-title
Groups (
#{
@groups
.
total_count
}
)
=
link_to
'New Group'
,
new_admin_group_path
,
class:
"btn btn-new pull-right"
...
...
app/views/admin/groups/new.html.haml
View file @
26ad2509
-
page_title
"New group"
%h3
.page-title
New group
%hr
=
render
'form'
app/views/admin/groups/show.html.haml
View file @
26ad2509
-
page_title
@group
.
name
,
"Groups"
%h3
.page-title
Group:
#{
@group
.
name
}
...
...
app/views/admin/hooks/index.html.haml
View file @
26ad2509
-
page_title
"System Hooks"
%h3
.page-title
System hooks
...
...
app/views/admin/keys/show.html.haml
View file @
26ad2509
-
page_title
@key
.
title
,
"Keys"
=
render
"profiles/keys/key_details"
,
admin:
true
app/views/admin/logs/show.html.haml
View file @
26ad2509
-
page_title
"Logs"
-
loggers
=
[
Gitlab
::
GitLogger
,
Gitlab
::
AppLogger
,
Gitlab
::
ProductionLogger
,
Gitlab
::
SidekiqLogger
]
%ul
.nav.nav-tabs.log-tabs
...
...
app/views/admin/projects/index.html.haml
View file @
26ad2509
-
page_title
"Projects"
=
render
'shared/show_aside'
.row
...
...
app/views/admin/projects/show.html.haml
View file @
26ad2509
-
page_title
@project
.
name_with_namespace
,
"Projects"
%h3
.page-title
Project:
#{
@project
.
name_with_namespace
}
=
link_to
edit_project_path
(
@project
),
class:
"btn pull-right"
do
...
...
app/views/admin/services/edit.html.haml
View file @
26ad2509
-
page_title
@service
.
title
,
"Service Templates"
=
render
'form'
app/views/admin/services/index.html.haml
View file @
26ad2509
-
page_title
"Service Templates"
%h3
.page-title
Service templates
%p
.light
Service template allows you to set default values for project services
...
...
app/views/admin/users/edit.html.haml
View file @
26ad2509
-
page_title
"Edit"
,
@user
.
name
,
"Users"
%h3
.page-title
Edit user:
#{
@user
.
name
}
.back-link
...
...
app/views/admin/users/index.html.haml
View file @
26ad2509
-
page_title
"Users"
=
render
'shared/show_aside'
.row
...
...
app/views/admin/users/new.html.haml
View file @
26ad2509
-
page_title
"New user"
%h3
.page-title
New user
%hr
...
...
app/views/admin/users/show.html.haml
View file @
26ad2509
-
page_title
@user
.
name
,
"Users"
%h3
.page-title
User:
=
@user
.
name
...
...
app/views/dashboard/groups/index.html.haml
View file @
26ad2509
-
page_title
"Groups"
%h3
.page-title
Group Membership
-
if
current_user
.
can_create_group?
...
...
app/views/dashboard/issues.html.haml
View file @
26ad2509
-
page_title
"Issues"
=
content_for
:meta_tags
do
-
if
current_user
=
auto_discovery_link_tag
(
:atom
,
issues_dashboard_url
(
format: :atom
,
private_token:
current_user
.
private_token
),
title:
"
#{
current_user
.
name
}
issues"
)
...
...
app/views/dashboard/merge_requests.html.haml
View file @
26ad2509
-
page_title
"Merge Requests"
%h3
.page-title
Merge Requests
...
...
app/views/dashboard/milestones/index.html.haml
View file @
26ad2509
-
page_title
"Milestones"
%h3
.page-title
Milestones
%span
.pull-right
#{
@dashboard_milestones
.
count
}
milestones
...
...
app/views/dashboard/milestones/show.html.haml
View file @
26ad2509
-
page_title
@dashboard_milestone
.
title
,
"Milestones"
%h4
.page-title
.issue-box
{
class:
"issue-box-#{@dashboard_milestone.closed? ? 'closed' : 'open'}"
}
-
if
@dashboard_milestone
.
closed?
...
...
app/views/dashboard/projects/starred.html.haml
View file @
26ad2509
-
page_title
"Starred Projects"
-
if
@projects
.
any?
=
render
'shared/show_aside'
...
...
app/views/devise/registrations/new.html.haml
View file @
26ad2509
-
page_title
"Sign up"
=
render
'devise/shared/signup_box'
=
render
'devise/shared/sign_in_link'
app/views/devise/sessions/new.html.haml
View file @
26ad2509
-
page_title
"Sign in"
%div
-
if
signin_enabled?
||
ldap_enabled?
=
render
'devise/shared/signin_box'
...
...
app/views/doorkeeper/applications/edit.html.haml
View file @
26ad2509
-
page_title
"Edit"
,
@application
.
name
,
"Applications"
%h3
.page-title
Edit application
=
render
'form'
,
application:
@application
app/views/doorkeeper/applications/index.html.haml
View file @
26ad2509
-
page_title
"Applications"
%h3
.page-title
Your applications
%p
=
link_to
'New Application'
,
new_oauth_application_path
,
class:
'btn btn-success'
%table
.table.table-striped
...
...
app/views/doorkeeper/applications/show.html.haml
View file @
26ad2509
-
page_title
@application
.
name
,
"Application"
%h3
.page-title
Application:
#{
@application
.
name
}
...
...
app/views/errors/access_denied.html.haml
View file @
26ad2509
-
page_title
"Access Denied"
%h1
403
%h3
Access Denied
%hr
...
...
app/views/errors/encoding.html.haml
View file @
26ad2509
-
page_title
"Encoding Error"
%h1
500
%h3
Encoding Error
%hr
...
...
app/views/errors/git_not_found.html.haml
View file @
26ad2509
-
page_title
"Git Resource Not Found"
%h1
404
%h3
Git Resource Not found
%hr
...
...
app/views/errors/not_found.html.haml
View file @
26ad2509
-
page_title
"Not Found"
%h1
404
%h3
The resource you were looking for doesn't exist.
%hr
...
...
app/views/errors/omniauth_error.html.haml
View file @
26ad2509
-
page_title
"Auth Error"
%h1
422
%h3
Sign-in using
#{
@provider
}
auth failed
%hr
...
...
app/views/explore/groups/index.html.haml
View file @
26ad2509
-
page_title
"Groups"
.clearfix
.pull-left
=
form_tag
explore_groups_path
,
method: :get
,
class:
'form-inline form-tiny'
do
|
f
|
...
...
app/views/explore/projects/index.html.haml
View file @
26ad2509
-
page_title
"Projects"
.clearfix
=
render
'filter'
...
...
app/views/explore/projects/starred.html.haml
View file @
26ad2509
-
page_title
"Starred Projects"
.explore-trending-block
%p
.lead
%i
.fa.fa-star
...
...
app/views/explore/projects/trending.html.haml
View file @
26ad2509
-
page_title
"Trending Projects"
.explore-title
%h3
Explore GitLab
...
...
app/views/groups/_settings_nav.html.haml
deleted
100644 → 0
View file @
f2cf6d75
%ul
.sidebar-subnav
=
nav_link
(
path:
'groups#edit'
)
do
=
link_to
edit_group_path
(
@group
),
title:
'Group'
,
data:
{
placement:
'right'
}
do
=
icon
(
'pencil-square-o'
)
%span
Group
=
nav_link
(
path:
'groups#projects'
)
do
=
link_to
projects_group_path
(
@group
),
title:
'Projects'
,
data:
{
placement:
'right'
}
do
=
icon
(
'folder'
)
%span
Projects
app/views/groups/edit.html.haml
View file @
26ad2509
-
page_title
"Settings"
.panel.panel-default
.panel-heading
%strong
=
@group
.
name
...
...
app/views/groups/group_members/index.html.haml
View file @
26ad2509
-
page_title
"Members"
-
show_roles
=
should_user_see_group_roles?
(
current_user
,
@group
)
%h3
.page-title
...
...
app/views/groups/issues.html.haml
View file @
26ad2509
-
page_title
"Issues"
=
content_for
:meta_tags
do
-
if
current_user
=
auto_discovery_link_tag
(
:atom
,
issues_group_url
(
@group
,
format: :atom
,
private_token:
current_user
.
private_token
),
title:
"
#{
@group
.
name
}
issues"
)
...
...
app/views/groups/merge_requests.html.haml
View file @
26ad2509
-
page_title
"Merge Requests"
%h3
.page-title
Merge Requests
...
...
app/views/groups/milestones/index.html.haml
View file @
26ad2509
-
page_title
"Milestones"
%h3
.page-title
Milestones
%span
.pull-right
#{
@group_milestones
.
count
}
milestones
...
...
app/views/groups/milestones/show.html.haml
View file @
26ad2509
-
page_title
@group_milestone
.
title
,
"Milestone"
%h4
.page-title
.issue-box
{
class:
"issue-box-#{@group_milestone.closed? ? 'closed' : 'open'}"
}
-
if
@group_milestone
.
closed?
...
...
app/views/groups/projects.html.haml
View file @
26ad2509
-
page_title
"Projects"
.panel.panel-default
.panel-heading
%strong
=
@group
.
name
...
...
app/views/help/index.html.haml
View file @
26ad2509
-
page_title
"Help"
%div
%h1
GitLab
...
...
app/views/help/show.html.haml
View file @
26ad2509
-
page_title
@file
,
*
@category
.
split
(
"/"
).
reverse
,
"Help"
.documentation.wiki
=
markdown
@markdown
.
gsub
(
'$your_email'
,
current_user
.
email
)
app/views/help/ui.html.haml
View file @
26ad2509
-
page_title
"UI Development Kit"
,
"Help"
-
lorem
=
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed fermentum nisi sapien, non consequat lectus aliquam ultrices. Suspendisse sodales est euismod nunc condimentum, a consectetur diam ornare."
.gitlab-ui-dev-kit
...
...
app/views/import/bitbucket/status.html.haml
View file @
26ad2509
-
page_title
"Bitbucket import"
%h3
.page-title
%i
.fa.fa-bitbucket
Import projects from Bitbucket
...
...
app/views/import/github/status.html.haml
View file @
26ad2509
-
page_title
"GitHub import"
%h3
.page-title
%i
.fa.fa-github
Import projects from GitHub
...
...
app/views/import/gitlab/status.html.haml
View file @
26ad2509
-
page_title
"GitLab.com import"
%h3
.page-title
%i
.fa.fa-heart
Import projects from GitLab.com
...
...
app/views/import/gitorious/status.html.haml
View file @
26ad2509
-
page_title
"Gitorious import"
%h3
.page-title
%i
.icon-gitorious.icon-gitorious-big
Import projects from Gitorious.org
...
...
app/views/import/google_code/new.html.haml
View file @
26ad2509
-
page_title
"Google Code import"
%h3
.page-title
%i
.fa.fa-google
Import projects from Google Code
...
...
app/views/import/google_code/new_user_map.html.haml
View file @
26ad2509
-
page_title
"User map"
,
"Google Code import"
%h3
.page-title
%i
.fa.fa-google
Import projects from Google Code
...
...
app/views/import/google_code/status.html.haml
View file @
26ad2509
-
page_title
"Google Code import"
%h3
.page-title
%i
.fa.fa-google
Import projects from Google Code
...
...
app/views/invites/show.html.haml
View file @
26ad2509
-
page_title
"Invitation"
%h3
.page-title
Invitation
%p
...
...
app/views/layouts/_head.html.haml
View file @
26ad2509
-
page_title
"GitLab"
%head
%meta
{
charset:
"utf-8"
}
%meta
{
'http-equiv'
=>
'X-UA-Compatible'
,
content:
'IE=edge'
}
%meta
{
content:
"GitLab Community Edition"
,
name:
"description"
}
%title
=
"
#{
title
}
| "
if
defined?
(
title
)
GitLab
%title
=
page_title
=
favicon_link_tag
'favicon.ico'
=
stylesheet_link_tag
"application"
,
:media
=>
"all"
...
...
app/views/layouts/_page.html.haml
View file @
26ad2509
.page-with-sidebar
{
class:
nav_sidebar_class
}
=
render
"layouts/broadcast"
.sidebar-wrapper
-
if
defined?
(
sidebar
)
=
render
(
sidebar
)
-
if
defined?
(
sidebar
)
&&
sidebar
=
render
"layouts/nav/
#{
sidebar
}
"
-
elsif
current_user
=
render
'layouts/nav/dashboard'
.collapse-nav
...
...
app/views/layouts/admin.html.haml
deleted
100644 → 0
View file @
f2cf6d75
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
"Admin area"
%body
{
class:
"#{app_theme} admin"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/head_panel"
,
title:
link_to
(
"Admin area"
,
admin_root_path
)
=
render
'layouts/page'
,
sidebar:
'layouts/nav/admin'
app/views/layouts/application.html.haml
View file @
26ad2509
-
page_title
@title
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
"Dashboard"
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/head_panel"
,
title:
link_to
(
"Dashboard"
,
root_path
)
=
render
'layouts/page'
,
sidebar:
'layouts/nav/dashboard'
=
render
"layouts/head"
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
-
title
=
defined?
(
@title_url
)
?
link_to
(
@title
,
@title_url
)
:
@title
-
if
current_user
=
render
"layouts/head_panel"
,
title:
title
-
else
=
render
"layouts/public_head_panel"
,
title:
title
=
render
'layouts/page'
,
sidebar:
@sidebar
app/views/layouts/errors.html.haml
View file @
26ad2509
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
"Error"
=
render
"layouts/head"
%body
{
class:
"#{app_theme} application"
}
=
render
"layouts/head_panel"
,
title:
""
if
current_user
.container.navless-container
...
...
app/views/layouts/explore.html.haml
deleted
100644 → 0
View file @
f2cf6d75
-
page_title
=
'Explore GitLab'
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
page_title
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/broadcast"
-
if
current_user
=
render
"layouts/head_panel"
,
title:
link_to
(
page_title
,
explore_root_path
)
-
else
=
render
"layouts/public_head_panel"
,
title:
link_to
(
page_title
,
explore_root_path
)
=
render
'layouts/page'
,
sidebar:
'layouts/nav/explore'
app/views/layouts/group.html.haml
deleted
100644 → 0
View file @
f2cf6d75
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
group_head_title
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/head_panel"
,
title:
link_to
(
@group
.
name
,
group_path
(
@group
))
=
render
'layouts/page'
,
sidebar:
'layouts/nav/group'
app/views/layouts/nav/_group.html.haml
View file @
26ad2509
...
...
@@ -39,4 +39,15 @@
=
icon
(
'angle-down fw'
)
-
if
group_settings_page?
=
render
'groups/settings_nav'
%ul
.sidebar-subnav
=
nav_link
(
path:
'groups#edit'
)
do
=
link_to
edit_group_path
(
@group
),
title:
'Group'
,
data:
{
placement:
'right'
}
do
=
icon
(
'pencil-square-o'
)
%span
Group
=
nav_link
(
path:
'groups#projects'
)
do
=
link_to
projects_group_path
(
@group
),
title:
'Projects'
,
data:
{
placement:
'right'
}
do
=
icon
(
'folder'
)
%span
Projects
app/views/layouts/nav/_project.html.haml
View file @
26ad2509
%ul
.project-navigation.nav.nav-sidebar
-
if
@project_settings_nav
=
nav_link
do
=
link_to
project_path
(
@project
),
title:
'Back to project'
,
data:
{
placement:
'right'
}
do
=
icon
(
'caret-square-o-left fw'
)
%span
Back to project
%li
.separate-item
=
render
'projects/settings_nav'
-
else
=
nav_link
(
path:
'projects#show'
,
html_options:
{
class:
'home'
})
do
=
link_to
project_path
(
@project
),
title:
'Project'
,
class:
'shortcuts-project'
,
data:
{
placement:
'right'
}
do
=
icon
(
'dashboard fw'
)
...
...
app/views/layouts/nav/_project_settings.html.haml
0 → 100644
View file @
26ad2509
%ul
.project-navigation.nav.nav-sidebar
=
nav_link
do
=
link_to
project_path
(
@project
),
title:
'Back to project'
,
data:
{
placement:
'right'
}
do
=
icon
(
'caret-square-o-left fw'
)
%span
Back to project
%li
.separate-item
%ul
.project-settings-nav.sidebar-subnav
=
nav_link
(
path:
'projects#edit'
)
do
=
link_to
edit_project_path
(
@project
),
title:
'Project'
,
class:
'stat-tab tab'
,
data:
{
placement:
'right'
}
do
=
icon
(
'pencil-square-o'
)
%span
Project
=
nav_link
(
controller:
[
:project_members
,
:teams
])
do
=
link_to
namespace_project_project_members_path
(
@project
.
namespace
,
@project
),
title:
'Members'
,
class:
'team-tab tab'
,
data:
{
placement:
'right'
}
do
=
icon
(
'users'
)
%span
Members
=
nav_link
(
controller: :deploy_keys
)
do
=
link_to
namespace_project_deploy_keys_path
(
@project
.
namespace
,
@project
),
title:
'Deploy Keys'
,
data:
{
placement:
'right'
}
do
=
icon
(
'key'
)
%span
Deploy Keys
=
nav_link
(
controller: :hooks
)
do
=
link_to
namespace_project_hooks_path
(
@project
.
namespace
,
@project
),
title:
'Web Hooks'
,
data:
{
placement:
'right'
}
do
=
icon
(
'link'
)
%span
Web Hooks
=
nav_link
(
controller: :services
)
do
=
link_to
namespace_project_services_path
(
@project
.
namespace
,
@project
),
title:
'Services'
,
data:
{
placement:
'right'
}
do
=
icon
(
'cogs'
)
%span
Services
=
nav_link
(
controller: :protected_branches
)
do
=
link_to
namespace_project_protected_branches_path
(
@project
.
namespace
,
@project
),
title:
'Protected Branches'
,
data:
{
placement:
'right'
}
do
=
icon
(
'lock'
)
%span
Protected branches
app/views/layouts/navless.html.haml
deleted
100644 → 0
View file @
f2cf6d75
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
@title
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/broadcast"
=
render
"layouts/head_panel"
,
title:
defined?
(
@title_url
)
?
link_to
(
@title
,
@title_url
)
:
@title
=
render
'layouts/page'
app/views/layouts/profile.html.haml
deleted
100644 → 0
View file @
f2cf6d75
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
"Profile"
%body
{
class:
"#{app_theme} profile"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/head_panel"
,
title:
link_to
(
"Profile"
,
profile_path
)
=
render
'layouts/page'
,
sidebar:
'layouts/nav/profile'
app/views/layouts/project.html.haml
0 → 100644
View file @
26ad2509
-
page_title
@project
.
name_with_namespace
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
%body
{
class:
"#{app_theme} project"
,
:'data-page'
=>
body_data_page
,
:'data-project-id'
=>
@project
.
id
}
-
title
=
project_title
(
@project
)
-
if
current_user
=
render
"layouts/head_panel"
,
title:
project_title
(
@project
)
=
render
"layouts/init_auto_complete"
-
else
=
render
"layouts/public_head_panel"
,
title:
project_title
(
@project
)
=
render
'layouts/page'
,
sidebar:
@sidebar
||
'project'
app/views/layouts/project_settings.html.haml
View file @
26ad2509
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
@project
.
name_with_namespace
%body
{
class:
"#{app_theme} project"
,
:'data-page'
=>
body_data_page
,
:'data-project-id'
=>
@project
.
id
}
=
render
"layouts/head_panel"
,
title:
project_title
(
@project
)
=
render
"layouts/init_auto_complete"
-
@project_settings_nav
=
true
=
render
'layouts/page'
,
sidebar:
'layouts/nav/project'
-
@sidebar
=
"project_settings"
=
render
template:
"layouts/project"
app/views/layouts/projects.html.haml
deleted
100644 → 0
View file @
f2cf6d75
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
project_head_title
%body
{
class:
"#{app_theme} project"
,
:'data-page'
=>
body_data_page
,
:'data-project-id'
=>
@project
.
id
}
=
render
"layouts/head_panel"
,
title:
project_title
(
@project
)
=
render
"layouts/init_auto_complete"
=
render
'layouts/page'
,
sidebar:
'layouts/nav/project'
app/views/layouts/public_group.html.haml
deleted
100644 → 0
View file @
f2cf6d75
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
group_head_title
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/public_head_panel"
,
title:
link_to
(
@group
.
name
,
group_path
(
@group
))
=
render
'layouts/page'
,
sidebar:
'layouts/nav/group'
app/views/layouts/public_projects.html.haml
deleted
100644 → 0
View file @
f2cf6d75
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
@project
.
name_with_namespace
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/public_head_panel"
,
title:
project_title
(
@project
)
=
render
'layouts/page'
,
sidebar:
'layouts/nav/project'
app/views/layouts/public_users.html.haml
deleted
100644 → 0
View file @
f2cf6d75
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
@title
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/public_head_panel"
,
title:
defined?
(
@title_url
)
?
link_to
(
@title
,
@title_url
)
:
@title
=
render
'layouts/page'
app/views/layouts/search.html.haml
deleted
100644 → 0
View file @
f2cf6d75
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
"Search"
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/head_panel"
,
title:
link_to
(
"Search"
,
search_path
)
=
render
'layouts/page'
app/views/layouts/snippets.html.haml
deleted
100644 → 0
View file @
f2cf6d75
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
"Dashboard"
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/head_panel"
,
title:
link_to
(
"Snippets"
,
snippets_path
)
=
render
'layouts/page'
,
sidebar:
'layouts/nav/snippets'
app/views/profiles/accounts/show.html.haml
View file @
26ad2509
-
page_title
"Account"
-
if
current_user
.
ldap_user?
.alert.alert-info
Some options are unavailable for LDAP accounts
...
...
app/views/profiles/applications.html.haml
View file @
26ad2509
-
page_title
"Applications"
%h3
.page-title
Application Settings
%p
.light
...
...
app/views/profiles/design.html.haml
View file @
26ad2509
-
page_title
"Design"
%h3
.page-title
Design Settings
%p
.light
...
...
app/views/profiles/emails/index.html.haml
View file @
26ad2509
-
page_title
"Emails"
%h3
.page-title
Email Settings
%p
.light
...
...
app/views/profiles/history.html.haml
View file @
26ad2509
-
page_title
"History"
%h3
.page-title
Your Account History
%p
.light
...
...
app/views/profiles/keys/index.html.haml
View file @
26ad2509
-
page_title
"SSH Keys"
%h3
.page-title
SSH Keys Settings
.pull-right
...
...
app/views/profiles/keys/new.html.haml
View file @
26ad2509
-
page_title
"Add SSH Keys"
%h3
.page-title
Add an SSH Key
%p
.light
Paste your public key here. Read more about how to generate a key on
#{
link_to
"the SSH help page"
,
help_page_path
(
"ssh"
,
"README"
)
}
.
...
...
app/views/profiles/keys/show.html.haml
View file @
26ad2509
-
page_title
@key
.
title
,
"SSH Keys"
=
render
"key_details"
app/views/profiles/notifications/show.html.haml
View file @
26ad2509
-
page_title
"Notifications"
%h3
.page-title
Notifications Settings
%p
.light
...
...
app/views/profiles/passwords/edit.html.haml
View file @
26ad2509
-
page_title
"Password"
%h3
.page-title
Password Settings
%p
.light
-
if
@user
.
password_automatically_set?
...
...
app/views/profiles/show.html.haml
View file @
26ad2509
-
page_title
"Settings"
%h3
.page-title
Profile Settings
%p
.light
...
...
app/views/projects/_settings_nav.html.haml
deleted
100644 → 0
View file @
f2cf6d75
%ul
.project-settings-nav.sidebar-subnav
=
nav_link
(
path:
'projects#edit'
)
do
=
link_to
edit_project_path
(
@project
),
title:
'Project'
,
class:
'stat-tab tab'
,
data:
{
placement:
'right'
}
do
=
icon
(
'pencil-square-o'
)
%span
Project
=
nav_link
(
controller:
[
:project_members
,
:teams
])
do
=
link_to
namespace_project_project_members_path
(
@project
.
namespace
,
@project
),
title:
'Members'
,
class:
'team-tab tab'
,
data:
{
placement:
'right'
}
do
=
icon
(
'users'
)
%span
Members
=
nav_link
(
controller: :deploy_keys
)
do
=
link_to
namespace_project_deploy_keys_path
(
@project
.
namespace
,
@project
),
title:
'Deploy Keys'
,
data:
{
placement:
'right'
}
do
=
icon
(
'key'
)
%span
Deploy Keys
=
nav_link
(
controller: :hooks
)
do
=
link_to
namespace_project_hooks_path
(
@project
.
namespace
,
@project
),
title:
'Web Hooks'
,
data:
{
placement:
'right'
}
do
=
icon
(
'link'
)
%span
Web Hooks
=
nav_link
(
controller: :services
)
do
=
link_to
namespace_project_services_path
(
@project
.
namespace
,
@project
),
title:
'Services'
,
data:
{
placement:
'right'
}
do
=
icon
(
'cogs'
)
%span
Services
=
nav_link
(
controller: :protected_branches
)
do
=
link_to
namespace_project_protected_branches_path
(
@project
.
namespace
,
@project
),
title:
'Protected Branches'
,
data:
{
placement:
'right'
}
do
=
icon
(
'lock'
)
%span
Protected branches
app/views/projects/blame/show.html.haml
View file @
26ad2509
-
page_title
"Blame"
,
@blob
.
path
,
@ref
%h3
.page-title
Blame view
#tree-holder
.tree-holder
...
...
app/views/projects/blob/edit.html.haml
View file @
26ad2509
-
page_title
"Edit"
,
@blob
.
path
,
@ref
.file-editor
%ul
.nav.nav-tabs.js-edit-mode
%li
.active
...
...
app/views/projects/blob/new.html.haml
View file @
26ad2509
-
page_title
"New file"
,
@ref
%h3
.page-title
New file
.file-editor
=
form_tag
(
namespace_project_create_blob_path
(
@project
.
namespace
,
@project
,
@id
),
method: :post
,
class:
'form-horizontal form-new-file'
)
do
...
...
app/views/projects/blob/show.html.haml
View file @
26ad2509
-
page_title
@blob
.
path
,
@ref
%div
.tree-ref-holder
=
render
'shared/ref_switcher'
,
destination:
'blob'
,
path:
@path
...
...
app/views/projects/branches/index.html.haml
View file @
26ad2509
-
page_title
"Branches"
=
render
"projects/commits/head"
%h3
.page-title
Branches
...
...
app/views/projects/branches/new.html.haml
View file @
26ad2509
-
page_title
"New branch"
-
if
@error
.alert.alert-danger
%button
{
type:
"button"
,
class:
"close"
,
"data-dismiss"
=>
"alert"
}
×
...
...
app/views/projects/commit/show.html.haml
View file @
26ad2509
-
page_title
@commit
.
id
,
"Commits"
=
render
"commit_box"
=
render
"projects/diffs/diffs"
,
diffs:
@diffs
,
project:
@project
=
render
"projects/notes/notes_with_form"
app/views/projects/commits/show.html.haml
View file @
26ad2509
-
page_title
"Commits"
,
@ref
=
content_for
:meta_tags
do
-
if
current_user
=
auto_discovery_link_tag
(
:atom
,
namespace_project_commits_url
(
@project
.
namespace
,
@project
,
@ref
,
format: :atom
,
private_token:
current_user
.
private_token
),
title:
"
#{
@project
.
name
}
:
#{
@ref
}
commits"
)
...
...
app/views/projects/compare/index.html.haml
View file @
26ad2509
-
page_title
"Compare"
=
render
"projects/commits/head"
%h3
.page-title
...
...
app/views/projects/compare/show.html.haml
View file @
26ad2509
-
page_title
"
#{
params
[
:from
]
}
...
#{
params
[
:to
]
}
"
=
render
"projects/commits/head"
%h3
.page-title
...
...
app/views/projects/deploy_keys/index.html.haml
View file @
26ad2509
-
page_title
"Deploy Keys"
%h3
.page-title
Deploy keys allow read-only access to the repository
...
...
app/views/projects/deploy_keys/new.html.haml
View file @
26ad2509
-
page_title
"New Deploy Key"
%h3
.page-title
New Deploy key
%hr
...
...
app/views/projects/deploy_keys/show.html.haml
View file @
26ad2509
-
page_title
@key
.
title
,
"Deploy Keys"
%h3
.page-title
Deploy key:
=
@key
.
title
...
...
app/views/projects/edit.html.haml
View file @
26ad2509
-
page_title
"Settings"
.project-edit-container
.project-edit-errors
.project-edit-content
...
...
app/views/projects/forks/error.html.haml
View file @
26ad2509
-
page_title
"Fork project"
-
if
@forked_project
&&
!
@forked_project
.
saved?
.alert.alert-danger.alert-block
%h4
...
...
app/views/projects/forks/new.html.haml
View file @
26ad2509
-
page_title
"Fork project"
%h3
.page-title
Fork project
%p
.lead
Click to fork the project to a user or group
...
...
app/views/projects/graphs/commits.html.haml
View file @
26ad2509
-
page_title
"Commit statistics"
=
render
'head'
%p
.lead
...
...
app/views/projects/graphs/show.html.haml
View file @
26ad2509
-
page_title
"Contributor statistics"
=
render
'head'
.loading-graph
.center
...
...
app/views/projects/hooks/index.html.haml
View file @
26ad2509
-
page_title
"Web Hooks"
%h3
.page-title
Web hooks
...
...
app/views/projects/imports/new.html.haml
View file @
26ad2509
-
page_title
"Import repository"
%h3
.page-title
-
if
@project
.
import_failed?
Import failed. Retry?
...
...
app/views/projects/imports/show.html.haml
View file @
26ad2509
-
page_title
"Import in progress"
.save-project-loader
.center
%h2
...
...
app/views/projects/issues/edit.html.haml
View file @
26ad2509
-
page_title
"Edit"
,
"
#{
@issue
.
title
}
(#
#{
@issue
.
iid
}
)"
,
"Issues"
=
render
"form"
app/views/projects/issues/index.html.haml
View file @
26ad2509
-
page_title
"Issues"
=
content_for
:meta_tags
do
-
if
current_user
=
auto_discovery_link_tag
(
:atom
,
namespace_project_issues_url
(
@project
.
namespace
,
@project
,
:atom
,
private_token:
current_user
.
private_token
),
title:
"
#{
@project
.
name
}
issues"
)
...
...
app/views/projects/issues/new.html.haml
View file @
26ad2509
-
page_title
"New issue"
=
render
"form"
app/views/projects/issues/show.html.haml
View file @
26ad2509
-
page_title
"
#{
@issue
.
title
}
(#
#{
@issue
.
iid
}
)"
,
"Issues"
.issue
.issue-details
%h4
.page-title
...
...
app/views/projects/labels/edit.html.haml
View file @
26ad2509
-
page_title
"Edit"
,
@label
.
name
,
"Labels"
%h3
Edit label
%span
.light
#{
@label
.
name
}
...
...
app/views/projects/labels/index.html.haml
View file @
26ad2509
-
page_title
"Labels"
-
if
can?
current_user
,
:admin_label
,
@project
=
link_to
new_namespace_project_label_path
(
@project
.
namespace
,
@project
),
class:
"pull-right btn btn-new"
do
New label
...
...
app/views/projects/labels/new.html.haml
View file @
26ad2509
-
page_title
"New label"
%h3
New label
.back-link
=
link_to
namespace_project_labels_path
(
@project
.
namespace
,
@project
)
do
...
...
app/views/projects/merge_requests/_show.html.haml
View file @
26ad2509
-
page_title
"
#{
@merge_request
.
title
}
(#
#{
@merge_request
.
iid
}
)"
,
"Merge Requests"
.merge-request
{
'data-url'
=>
merge_request_path
(
@merge_request
)}
.merge-request-details
=
render
"projects/merge_requests/show/mr_title"
...
...
app/views/projects/merge_requests/edit.html.haml
View file @
26ad2509
-
page_title
"Edit"
,
"
#{
@merge_request
.
title
}
(#
#{
@merge_request
.
iid
}
)"
,
"Merge Requests"
%h3
.page-title
=
"Edit merge request #
#{
@merge_request
.
iid
}
"
%hr
...
...
app/views/projects/merge_requests/index.html.haml
View file @
26ad2509
-
page_title
"Merge Requests"
.append-bottom-10
.pull-right
=
render
'shared/issuable_search_form'
,
path:
namespace_project_merge_requests_path
(
@project
.
namespace
,
@project
)
...
...
app/views/projects/merge_requests/invalid.html.haml
View file @
26ad2509
-
page_title
"
#{
@merge_request
.
title
}
(#
#{
@merge_request
.
iid
}
)"
,
"Merge Requests"
.merge-request
=
render
"projects/merge_requests/show/mr_title"
=
render
"projects/merge_requests/show/mr_box"
...
...
app/views/projects/merge_requests/new.html.haml
View file @
26ad2509
-
page_title
"New merge request"
-
if
@merge_request
.
can_be_created
=
render
'new_submit'
-
else
...
...
app/views/projects/milestones/edit.html.haml
View file @
26ad2509
-
page_title
"Edit"
,
@milestone
.
title
,
"Milestones"
=
render
"form"
app/views/projects/milestones/index.html.haml
View file @
26ad2509
-
page_title
"Milestones"
.pull-right
-
if
can?
current_user
,
:admin_milestone
,
@project
=
link_to
new_namespace_project_milestone_path
(
@project
.
namespace
,
@project
),
class:
"pull-right btn btn-new"
,
title:
"New Milestone"
do
...
...
app/views/projects/milestones/new.html.haml
View file @
26ad2509
-
page_title
"New milestone"
=
render
"form"
app/views/projects/milestones/show.html.haml
View file @
26ad2509
-
page_title
@milestone
.
title
,
"Milestones"
%h4
.page-title
.issue-box
{
class:
issue_box_class
(
@milestone
)
}
-
if
@milestone
.
closed?
...
...
app/views/projects/network/show.html.haml
View file @
26ad2509
-
page_title
"Network"
=
render
"head"
.project-network
.controls
...
...
app/views/projects/project_members/import.html.haml
View file @
26ad2509
-
page_title
"Import members"
%h3
.page-title
Import members from another project
%p
.light
...
...
app/views/projects/project_members/index.html.haml
View file @
26ad2509
-
page_title
"Members"
%h3
.page-title
Users with access to this project
...
...
app/views/projects/protected_branches/index.html.haml
View file @
26ad2509
-
page_title
"Protected branches"
%h3
.page-title
Protected branches
%p
.light
Keep stable branches secure and force developers to use Merge Requests
%hr
...
...
app/views/projects/services/edit.html.haml
View file @
26ad2509
-
page_title
@service
.
title
,
"Services"
=
render
'form'
app/views/projects/services/index.html.haml
View file @
26ad2509
-
page_title
"Services"
%h3
.page-title
Project services
%p
.light
Project services allow you to integrate GitLab with other applications
...
...
app/views/projects/snippets/edit.html.haml
View file @
26ad2509
-
page_title
"Edit"
,
@snippet
.
title
,
"Snippets"
%h3
.page-title
Edit snippet
%hr
...
...
app/views/projects/snippets/index.html.haml
View file @
26ad2509
-
page_title
"Snippets"
%h3
.page-title
Snippets
-
if
can?
current_user
,
:write_project_snippet
,
@project
...
...
app/views/projects/snippets/new.html.haml
View file @
26ad2509
-
page_title
"New snippets"
%h3
.page-title
New snippet
%hr
...
...
app/views/projects/snippets/show.html.haml
View file @
26ad2509
-
page_title
@snippet
.
title
,
"Snippets"
%h3
.page-title
=
@snippet
.
title
...
...
app/views/projects/tags/index.html.haml
View file @
26ad2509
-
page_title
"Tags"
=
render
"projects/commits/head"
%h3
.page-title
...
...
app/views/projects/tags/new.html.haml
View file @
26ad2509
-
page_title
"New tag"
-
if
@error
.alert.alert-danger
%button
{
type:
"button"
,
class:
"close"
,
"data-dismiss"
=>
"alert"
}
×
...
...
app/views/projects/tree/show.html.haml
View file @
26ad2509
-
page_title
@path
.
presence
,
@ref
=
content_for
:meta_tags
do
-
if
current_user
=
auto_discovery_link_tag
(
:atom
,
namespace_project_commits_url
(
@project
.
namespace
,
@project
,
@ref
,
format: :atom
,
private_token:
current_user
.
private_token
),
title:
"
#{
@project
.
name
}
:
#{
@ref
}
commits"
)
...
...
app/views/projects/wikis/edit.html.haml
View file @
26ad2509
-
page_title
"Edit"
,
@page
.
title
,
"Wiki"
=
render
'nav'
.pull-right
=
render
'main_links'
...
...
app/views/projects/wikis/empty.html.haml
View file @
26ad2509
-
page_title
"Wiki"
%h3
.page-title
Empty page
%hr
.error_message
...
...
app/views/projects/wikis/git_access.html.haml
View file @
26ad2509
-
page_title
"Git access"
,
"Wiki"
=
render
'nav'
.row
.col-sm-6
...
...
app/views/projects/wikis/history.html.haml
View file @
26ad2509
-
page_title
"History"
,
@page
.
title
,
"Wiki"
=
render
'nav'
%h3
.page-title
%span
.light
History for
...
...
app/views/projects/wikis/pages.html.haml
View file @
26ad2509
-
page_title
"All Pages"
,
"Wiki"
=
render
'nav'
%h3
.page-title
All Pages
...
...
app/views/projects/wikis/show.html.haml
View file @
26ad2509
-
page_title
@page
.
title
,
"Wiki"
=
render
'nav'
%h3
.page-title
=
@page
.
title
...
...
app/views/search/show.html.haml
View file @
26ad2509
-
page_title
@search_term
=
render
'search/form'
%hr
-
if
@search_term
...
...
app/views/snippets/current_user_index.html.haml
View file @
26ad2509
-
page_title
"Your Snippets"
%h3
.page-title
Your Snippets
.pull-right
...
...
app/views/snippets/edit.html.haml
View file @
26ad2509
-
page_title
"Edit"
,
@snippet
.
title
,
"Snippets"
%h3
.page-title
Edit snippet
%hr
...
...
app/views/snippets/index.html.haml
View file @
26ad2509
-
page_title
"Public Snippets"
%h3
.page-title
Public snippets
...
...
app/views/snippets/new.html.haml
View file @
26ad2509
-
page_title
"New snippet"
%h3
.page-title
New snippet
%hr
...
...
app/views/snippets/show.html.haml
View file @
26ad2509
-
page_title
@snippet
.
title
,
"Snippet"
%h3
.page-title
=
@snippet
.
title
...
...
app/views/snippets/user_index.html.haml
View file @
26ad2509
-
page_title
"Snippets"
,
@user
.
name
%h3
.page-title
=
image_tag
avatar_icon
(
@user
.
email
),
class:
"avatar s24"
=
@user
.
name
...
...
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