Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-FiBu
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
Model registry
Operate
Environments
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
Katharineum zu Lübeck
AlekSIS-App-FiBu
Commits
43792212
Commit
43792212
authored
5 years ago
by
Frank Poetzsch-Heffter
Browse files
Options
Downloads
Patches
Plain Diff
refactor check template
parent
0dc83fb2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
biscuit/apps/fibu/templates/fibu/check.html
+9
-21
9 additions, 21 deletions
biscuit/apps/fibu/templates/fibu/check.html
with
9 additions
and
21 deletions
biscuit/apps/fibu/templates/fibu/check.html
+
9
−
21
View file @
43792212
...
...
@@ -2,24 +2,15 @@
<main>
<h4>
Anträge prüfen
</h4>
<table
class=
"highlight"
>
<thead>
<tr>
<th>
Beschreibung
</th>
<th
class=
"flushright"
>
Erwarteter Betrag
</th>
<th>
Status
</th>
</tr>
</thead>
<tbody>
<div
class=
"collection"
>
{% for booking in filter.qs %}
<tr>
<td>
{{ booking.description }}
</td>
<td
class=
"flushright"
>
{{ booking.planned_amount }} €
</td>
<td><span
class=
"badge new {{ booking.getStatus.style_class }}"
>
{{ booking.getStatus.name }}
</span></td>
<td>
<form
action=
""
method=
"POST"
class=
"right"
>
<a
href=
"{% url 'booking_edit' booking.id %}"
class=
"collection-item row"
>
<span
class=
"col s12 m6"
>
{{ booking.description }}
</span>
<span
class=
"col s12 m3 flushright"
>
{{ booking.planned_amount }} €
</span>
<span
class=
"col s12 m1 badge new {{ booking.getStatus.style_class }}"
>
{{ booking.getStatus.name }}
</span>
<form
action=
""
method=
"POST"
class=
"col s12 m2 right"
>
{% csrf_token %}
<input
type=
"hidden"
value=
"{{ booking.id }}"
name=
"
aub
-id"
>
<input
type=
"hidden"
value=
"{{ booking.id }}"
name=
"
booking
-id"
>
{% if booking.status.id != 2 %}
<button
type=
"submit"
name=
"allow"
class=
"waves-effect waves-light btn-flat btn-flat-large"
title=
"Annehmen"
>
...
...
@@ -33,12 +24,9 @@
</button>
{% endif %}
</form>
</td>
</tr>
</a>
{% endfor %}
</tbody>
</table>
</div>
</main>
...
...
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