Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
R
redeleitsystem
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
redl
redeleitsystem
Commits
2a053b57
Commit
2a053b57
authored
Nov 07, 2015
by
Robin Sonnabend
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed is_authenticated
parent
fe44ca89
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
templates/content_index.html
templates/content_index.html
+1
-1
templates/layout.html
templates/layout.html
+3
-3
templates/speech_index.html
templates/speech_index.html
+1
-1
No files found.
templates/content_index.html
View file @
2a053b57
...
...
@@ -4,7 +4,7 @@
<h3
class=
"mdl-card__title-text"
>
{{ event.name }}: {{ speaker.name }}
</h3>
</div>
<div
class=
"mdl-card__actions"
>
{% if current_user.is_authenticated and "user" in current_user.roles %}
{% if current_user.is_authenticated
()
and "user" in current_user.roles %}
<a
href=
"{{ url_for("
speech.index
",
event=
event.id)
}}"
>
<button
type=
"button"
class=
"mdl-button mdl-js-button mdl-button--raised mdl-button--colored"
>
<i
class=
"material-icons"
role=
"presentation"
>
build
</i>
...
...
templates/layout.html
View file @
2a053b57
...
...
@@ -44,7 +44,7 @@
<header
class=
"rede-drawer-header"
>
<div
class=
"rede-account-dropdown"
>
<span>
{% if current_user.is_authenticated %}
{% if current_user.is_authenticated
()
%}
<p
class=
"md-24"
>
<i
class=
"material-icons md-48"
>
{% if "user" in current_user.roles and not "admin" in current_user.roles %}
...
...
@@ -69,7 +69,7 @@
</button>
</span>
<ul
class=
"mdl-menu mdl-menu--bottom-left mdl-js-menu mdl-js-ripple-effet"
for=
"accbtn"
>
{% if current_user.is_authenticated %}
{% if current_user.is_authenticated
()
%}
<li
class=
"mdl-menu__item"
><a
class=
"mdl-navigation__link"
href=
"{{ url_for("
logout
")
}}"
>
Logout
</a></li>
{% else %}
<li
class=
"mdl-menu__item"
><a
class=
"mdl-navigation__link"
href=
"{{ url_for("
login
")
}}"
>
Login
</a></li>
...
...
@@ -83,7 +83,7 @@
<a
class=
"mdl-navigation__link"
href=
"{{ url_for("
speech.index
")
}}"
><i
class=
"mdl-color-text--blue-grey-400 material-icons"
role=
"presentation"
>
build
</i>
Handle speakers
</a>
{% endif %}
<a
class=
"mdl-navigation__link"
href=
"{{ url_for("
speech.show
")
}}"
><i
class=
"mdl-color-text--blue-grey-400 material-icons"
role=
"presentation"
>
announcement
</i>
Pending speakers
</a>
{% if current_user.is_authenticated and "admin" in current_user.roles %}
{% if current_user.is_authenticated
()
and "admin" in current_user.roles %}
<a
class=
"mdl-navigation__link"
href=
"{{ url_for("
admin.index
")
}}"
><i
class=
"mdl-color-text--blue-grey-400 material-icons"
role=
"presentation"
>
computer
</i>
Administration
</a>
{% block additional_sidelinks %}
<!-- put your additional sidelinks here -->
...
...
templates/speech_index.html
View file @
2a053b57
...
...
@@ -56,7 +56,7 @@
{% endfor %}
</tbody>
</table>
{% if current_user.is_authenticated and "user" in current_user.roles %}
{% if current_user.is_authenticated
()
and "user" in current_user.roles %}
{{ render_form(add_form, action_url=url_for('.add', next=".index", event=event_id), action_text="Add", title="Add Speaker to {}".format(event.name)) }}
{% endif %}
{% endfor %}
...
...
Lars Beckers
@larsb
mentioned in issue
#3 (closed)
·
Nov 07, 2015
mentioned in issue
#3 (closed)
mentioned in issue #3
Toggle commit list
Robin Sonnabend
@robin
mentioned in commit
018e62b5
·
Nov 07, 2015
mentioned in commit
018e62b5
mentioned in commit 018e62b5d928b09b1144be40ed4115c9c34ba34e
Toggle commit list
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