SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
118
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
SciPost
SciPost
Commits
baed455f
Commit
baed455f
authored
7 years ago
by
Jorran de Wit
Browse files
Options
Downloads
Patches
Plain Diff
Improve vet commentary page
parent
0c3ac8be
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
commentaries/templates/commentaries/_commentary_summary.html
+1
-1
1 addition, 1 deletion
commentaries/templates/commentaries/_commentary_summary.html
commentaries/templates/commentaries/vet_commentary_requests.html
+35
-30
35 additions, 30 deletions
...aries/templates/commentaries/vet_commentary_requests.html
with
36 additions
and
31 deletions
commentaries/templates/commentaries/_commentary_summary.html
+
1
−
1
View file @
baed455f
...
...
@@ -11,7 +11,7 @@
<td>
As Contributors:
</td>
<td>
{% for author in commentary.authors.all %}
<a
href=
"{% url 'scipost:contributor_info' author.id %}"
>
{{author.user.first_name}} {{author.user.last_name}}
</a>
{% if not forloop.first %}
·
{% endif %}
<a
href=
"{% url 'scipost:contributor_info' author.id %}"
>
{{author.user.first_name}} {{author.user.last_name}}
</a>
{% empty %}
(none claimed)
{% endfor %}
...
...
This diff is collapsed.
Click to expand it.
commentaries/templates/commentaries/vet_commentary_requests.html
+
35
−
30
View file @
baed455f
{% extends 'scipost/base.html' %}
{% extends 'scipost/
_personal_page_
base.html' %}
{% block pagetitle %}: vet Commentary requests{% endblock pagetitle %}
{% block bodysup %}
<section>
{% if not commentary_to_vet %}
<h1>
There are no Commentary Page requests for you to vet.
</h1>
{% else %}
{% load bootstrap %}
<h1>
SciPost Commentary Page request to vet:
</h1>
<br>
<hr>
<div
class=
"row"
>
<div
class=
"col-8"
>
{% include 'commentaries/_commentary_summary.html' with commentary=commentary_to_vet %}
<h3>
Abstract:
</h3>
<p>
{{ commentary_to_vet.pub_abstract }}
</p>
{% block pagetitle %}: vet Commentary requests{% endblock pagetitle %}
{% block breadcrumb_items %}
{{block.super}}
<span
class=
"breadcrumb-item"
>
Vet Commentary Page requests
</span>
{% endblock %}
{% block content %}
<div
class=
"row"
>
<div
class=
"col-12"
>
{% if not commentary_to_vet %}
<h1>
There are no Commentary Page requests for you to vet.
</h1>
{% else %}
<h1>
SciPost Commentary Page request to vet:
</h1>
<hr>
<div
class=
"row"
>
<div
class=
"col-md-7"
>
{% include 'commentaries/_commentary_summary.html' with commentary=commentary_to_vet %}
<h3
class=
"mt-4"
>
Abstract:
</h3>
<p>
{{ commentary_to_vet.pub_abstract }}
</p>
</div>
<div
class=
"col-md-5"
>
<form
action=
"{% url 'commentaries:vet_commentary_request_ack' commentary_id=commentary_to_vet.id %}"
method=
"post"
>
{% csrf_token %}
{{ form|bootstrap }}
<input
type=
"submit"
class=
"btn btn-secondary"
value=
"Submit"
/>
</div>
</div>
{% endif %}
</div>
<div
class=
"col-4"
>
<form
action=
"{% url 'commentaries:vet_commentary_request_ack' commentary_id=commentary_to_vet.id %}"
method=
"post"
>
{% csrf_token %}
{{ form.as_ul }}
<input
type=
"submit"
value=
"Submit"
/>
</div>
</div>
{% endif %}
</section>
</div>
{% endblock
bodysup
%}
{% endblock %}
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