Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
site-kwei
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aeltheos
site-kwei
Commits
1bcc03c9
Commit
1bcc03c9
authored
3 years ago
by
Dorian Lesbre
Browse files
Options
Downloads
Patches
Plain Diff
Added django-admin link to profile page
parent
0e7c90de
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
accounts/templates/profile.html
+8
-1
8 additions, 1 deletion
accounts/templates/profile.html
home/templates/admin.html
+1
-1
1 addition, 1 deletion
home/templates/admin.html
with
10 additions
and
2 deletions
CHANGELOG.md
+
1
−
0
View file @
1bcc03c9
...
...
@@ -3,6 +3,7 @@
## Version 1.2.8 - 2021-05-06
-
Added links to FAQ
-
Added django-admin link to admin profile page
## Version 1.2.7 - 2021-05-03
...
...
This diff is collapsed.
Click to expand it.
accounts/templates/profile.html
+
8
−
1
View file @
1bcc03c9
...
...
@@ -10,7 +10,14 @@
{% if user.is_superuser %}
<ul
class=
"messagelist"
>
<li
class=
"info"
>
Vous avez les droits d'administrateurs. Aller à la
<a
href=
"{% url 'site_admin' %}"
>
page d'administration du site
</a></li>
<li
class=
"info"
>
Vous avez les droits d'administrateurs.
<br>
Aller à la
<a
href=
"{% url 'site_admin' %}"
>
page d'administration du site
</a>
{% if user.is_staff %}
<br>
Aller à la
<a
href=
"{% url 'admin:index' %}"
>
page d'administration de django
</a>
(N'y modifier rien sy vous n'êtes pas sûrs de vous)
{% endif %}
</li>
</ul>
{% endif %}
{% if user.profile.is_registered %}
...
...
This diff is collapsed.
Click to expand it.
home/templates/admin.html
+
1
−
1
View file @
1bcc03c9
...
...
@@ -18,7 +18,7 @@
<ul
class=
"messagelist"
>
<li
class=
"info"
>
Pour plus d'options d'accès et de modifications, aller à la
<a
href=
"{% url 'admin:index' %}"
>
page d'administration de django
</a>
.
<br>
N'y modifiez rien si vous n'êtes pas s
ur
de ce que cela fait.
<br>
N'y modifiez rien si vous n'êtes pas s
ûrs
de ce que cela fait.
</li></ul>
<h2>
Paramètres du site
</h2>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment