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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
d1828525
Commit
d1828525
authored
Apr 02, 2018
by
Douwe Maan
Committed by
Bob Van Landuyt
Apr 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update phrasing around archived feature in UI
parent
05732d90
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
app/views/admin/projects/show.html.haml
app/views/admin/projects/show.html.haml
+1
-1
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+6
-5
app/views/projects/show.html.haml
app/views/projects/show.html.haml
+1
-1
No files found.
app/views/admin/projects/show.html.haml
View file @
d1828525
...
...
@@ -101,7 +101,7 @@
-
if
@project
.
archived?
%li
%span
.light
archived:
%strong
repository
is read-only
%strong
project
is read-only
%li
%span
.light
access:
...
...
app/views/projects/edit.html.haml
View file @
d1828525
...
...
@@ -114,17 +114,18 @@
Archive project
-
if
@project
.
archived?
%p
Unarchiving the project will mark its repository as active. The project can be committed to.
Unarchiving the project will restore people's ability to make changes to it.
The repository can be committed to, and issues, comments and other entities can be created.
%strong
Once active this project shows up in the search and on the dashboard.
=
link_to
'Unarchive project'
,
unarchive_project_path
(
@project
),
data:
{
confirm:
"Are you sure that you want to unarchive this project?
\n
When this project is unarchived it is active and can be committed to again.
"
},
data:
{
confirm:
"Are you sure that you want to unarchive this project?"
},
method: :post
,
class:
"btn btn-success"
-
else
%p
Archiving the project will ma
rk its repository as
read-only. It is hidden from the dashboard and doesn't show up in searches.
%strong
Archived projects cannot be committed to!
Archiving the project will ma
ke it entirely
read-only. It is hidden from the dashboard and doesn't show up in searches.
%strong
The repository cannot be committed to, and no issues, comments or other entities can be created.
=
link_to
'Archive project'
,
archive_project_path
(
@project
),
data:
{
confirm:
"Are you sure that you want to archive this project?
\n
An archived project cannot be committed to.
"
},
data:
{
confirm:
"Are you sure that you want to archive this project?"
},
method: :post
,
class:
"btn btn-warning"
.sub-section.rename-respository
%h4
.warning-title
...
...
app/views/projects/show.html.haml
View file @
d1828525
...
...
@@ -24,7 +24,7 @@
.text-warning.center.prepend-top-20
%p
=
icon
(
"exclamation-triangle fw"
)
#{
_
(
'Archived project! Repository
is
read-only'
)
}
#{
_
(
'Archived project! Repository
and other project resources are
read-only'
)
}
-
view_path
=
@project
.
default_view
...
...
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