Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
proto3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
protokollsystem
proto3
Commits
2a8a636d
Commit
2a8a636d
authored
8 years ago
by
Robin Sonnabend
Browse files
Options
Downloads
Patches
Plain Diff
Small fixes for using start_time
parent
d5efed83
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
server.py
+0
-1
0 additions, 1 deletion
server.py
templates/protocol-show.html
+1
-1
1 addition, 1 deletion
templates/protocol-show.html
with
1 addition
and
2 deletions
server.py
+
0
−
1
View file @
2a8a636d
...
...
@@ -484,7 +484,6 @@ def new_protocol():
flash
(
"
Dir fehlen die nötigen Zugriffsrechte.
"
,
"
alert-error
"
)
return
redirect
(
request
.
args
.
get
(
"
next
"
)
or
url_for
(
"
index
"
))
protocol
=
Protocol
(
protocoltype_id
=
protocoltype
.
id
)
print
(
form
.
start_time
.
data
)
form
.
populate_obj
(
protocol
)
if
form
.
start_time
.
data
is
None
:
protocol
.
start_time
=
protocoltype
.
usual_time
...
...
This diff is collapsed.
Click to expand it.
templates/protocol-show.html
+
1
−
1
View file @
2a8a636d
...
...
@@ -82,7 +82,7 @@
{% endif %}
{% else %}
{% if protocol.date is not none %}
<p><strong>
Geplant:
</strong>
{{protocol.date|datify_long}}, {{protocol.
star
t_time|timify}}
</p>
<p><strong>
Geplant:
</strong>
{{protocol.date|datify_long}}, {{protocol.
ge
t_time
()
|timify}}
</p>
{% endif %}
{% for meta in protocol.metas %}
<p><strong>
{{meta.name}}:
</strong>
{{meta.value}}
</p>
...
...
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