Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
grady
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
Container Registry
Model registry
Operate
Environments
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
Jan Maximilian Michal
grady
Commits
9a3d6c00
Commit
9a3d6c00
authored
7 years ago
by
Jan Maximilian Michal
Browse files
Options
Downloads
Patches
Plain Diff
Removed last delete button
parent
7e7eaa43
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
core/models.py
+0
-1
0 additions, 1 deletion
core/models.py
core/templates/core/feedback_form.html
+2
-1
2 additions, 1 deletion
core/templates/core/feedback_form.html
core/templates/core/tutor_startpage.html
+0
-1
0 additions, 1 deletion
core/templates/core/tutor_startpage.html
with
2 additions
and
3 deletions
core/models.py
+
0
−
1
View file @
9a3d6c00
...
...
@@ -224,7 +224,6 @@ class Feedback(models.Model):
Arguments:
user {[type]} -- [description]
"""
assert
Feedback
.
status
!=
Feedback
.
ACCEPTED
self
.
status
=
Feedback
.
ACCEPTED
self
.
of_reviewer
=
user
self
.
of_submission
.
final_feedback
=
self
...
...
This diff is collapsed.
Click to expand it.
core/templates/core/feedback_form.html
+
2
−
1
View file @
9a3d6c00
...
...
@@ -67,7 +67,7 @@
<div
class=
"form-inline"
>
{# Score field #}
<div
class=
"input-group col-
4
nopadding mr-1"
>
<div
class=
"input-group col-
5
nopadding mr-1"
>
<span
class=
"input-group-addon"
>
Score:
</span>
<input
class=
"form-control"
...
...
@@ -83,6 +83,7 @@
</span>
</div>
{# status select #}
{% with form.fields.status as status %}
<div
class=
"form-group mr-1"
>
<select
class=
"custom-select"
id=
"id_status"
name=
"status"
>
...
...
This diff is collapsed.
Click to expand it.
core/templates/core/tutor_startpage.html
+
0
−
1
View file @
9a3d6c00
...
...
@@ -89,7 +89,6 @@
<a
class=
"btn btn-secondary"
href=
"{% url 'FeedbackEdit' feedback.slug %}"
>
View
</a>
{% else %}
<a
class=
"btn btn-primary"
href=
"{% url 'FeedbackEdit' feedback.slug %}"
>
Edit
</a>
<a
href=
"{% url 'FeedbackDelete' feedback.slug %}"
class=
"btn btn-primary"
name=
"delete"
value=
"Delete"
>
Delete
</a>
{% endif %}
</td>
</tr>
...
...
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