Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Resint
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mike Gabriel
AlekSIS-App-Resint
Commits
27c05995
Verified
Commit
27c05995
authored
3 years ago
by
Jonathan Weth
Browse files
Options
Downloads
Patches
Plain Diff
Fix page titles for poster management views
parent
6ce4fbfc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aleksis/apps/resint/templates/resint/poster/list.html
+14
-4
14 additions, 4 deletions
aleksis/apps/resint/templates/resint/poster/list.html
aleksis/apps/resint/templates/resint/poster/upload.html
+7
-2
7 additions, 2 deletions
aleksis/apps/resint/templates/resint/poster/upload.html
with
21 additions
and
6 deletions
aleksis/apps/resint/templates/resint/poster/list.html
+
14
−
4
View file @
27c05995
{% extends "core/base.html" %}
{% load static i18n rules %}
{% block content %}
{% block page_title %}
{% trans "Posters" %}
{% endblock %}
{% block browser_title %}
{% trans "Posters" %}
{% endblock %}
<h1>
{% trans "Posters" %}
</h1>
{% block content %}
<div
class=
"row"
>
{% for group in poster_groups %}
<div
class=
"col s12 m6 l4 xl3"
>
...
...
@@ -71,7 +75,13 @@
<i
class=
"material-icons left"
>
picture_as_pdf
</i>
{% trans "Show" %}
</a>
{% has_perm "resint.delete_poster" user poster as can_delete_poster %}
{% has_perm "resint.edit_poster_rule" user poster as can_edit_poster %}
{% if can_edit_poster %}
<a
class=
"btn-flat orange-text waves-effect waves-orange"
href=
"{% url "
poster_edit
"
poster.id
%}"
>
<i
class=
"material-icons left"
>
edit
</i>
{% trans "Edit" %}
</a>
{% endif %}
{% has_perm "resint.delete_poster_rule" user poster as can_delete_poster %}
{% if can_delete_poster %}
<a
class=
"btn-flat red-text waves-effect waves-red"
href=
"{% url "
poster_delete
"
poster.id
%}"
>
<i
class=
"material-icons left"
>
delete
</i>
{% trans "Delete" %}
...
...
This diff is collapsed.
Click to expand it.
aleksis/apps/resint/templates/resint/poster/upload.html
+
7
−
2
View file @
27c05995
{% extends 'core/base.html' %}
{% load material_form i18n %}
{% block content %}
<h4>
{% blocktrans %}Upload poster{% endblocktrans %}
</h4>
{% block page_title %}
{% trans "Upload poster" %}
{% endblock %}
{% block browser_title %}
{% trans "Upload poster" %}
{% endblock %}
{% block content %}
<form
method=
"post"
enctype=
"multipart/form-data"
>
{% csrf_token %}
{% form form=form %}{% endform %}
...
...
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