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
9dcfbcda
Commit
9dcfbcda
authored
5 years ago
by
Jean-Sébastien Caux
Browse files
Options
Downloads
Patches
Plain Diff
Improve Fellowship detail view
parent
b29ab656
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
colleges/templates/colleges/fellowship_details.html
+42
-2
42 additions, 2 deletions
colleges/templates/colleges/fellowship_details.html
colleges/templates/colleges/fellowship_list.html
+4
-4
4 additions, 4 deletions
colleges/templates/colleges/fellowship_list.html
with
46 additions
and
6 deletions
colleges/templates/colleges/fellowship_details.html
+
42
−
2
View file @
9dcfbcda
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
{% block pagetitle %}: Fellowship details{% endblock pagetitle %}
{% block pagetitle %}: Fellowship details{% endblock pagetitle %}
{% block content %}
{% block content %}
<h1>
Fellowship details
</h1>
<h1
class=
"highlight"
>
Fellowship details
</h1>
<h2
class=
"text-primary"
>
{{ fellowship }}
</h2>
<h2
class=
"text-primary"
>
{{ fellowship }}
</h2>
<br>
<br>
...
@@ -124,7 +124,47 @@
...
@@ -124,7 +124,47 @@
</table>
</table>
{% endif %}
{% endif %}
<h3>
Pool for this Fellowship
</h3>
<h3
class=
"highlight"
>
Assignments
</h3>
<div
class=
"row"
>
<div
class=
"col-12"
>
<h4>
Ongoing:
</h4>
</div>
<div
class=
"col-12"
>
<ul
class=
"list-group list-group-flush"
>
{% for assignment in fellowship.contributor.editorial_assignments.ongoing %}
<li
class=
"list-group-item"
>
<div
class=
"card-body px-0"
>
{% include 'partials/submissions/submission_card_content.html' with submission=assignment.submission %}
{% include 'partials/submissions/submission_status.html' with submission=assignment.submission %}
</div>
</li>
{% empty %}
<li
class=
"list-group-item"
>
No ongoing assignments
</li>
{% endfor %}
</ul>
</div>
<div
class=
"col-12 mt-4"
>
<h4>
Completed
</h4>
</div>
<div
class=
"col-12"
>
<ul
class=
"list-group list-group-flush"
>
{% for assignment in fellowship.contributor.editorial_assignments.completed %}
<li
class=
"list-group-item"
>
<div
class=
"card-body px-0"
>
{% include 'partials/submissions/submission_card_content.html' with submission=assignment.submission %}
{% include 'partials/submissions/submission_status.html' with submission=assignment.submission %}
</div>
</li>
{% empty %}
<li
class=
"list-group-item"
>
No completed assignments
</li>
{% endfor %}
</ul>
</div>
</div>
<h3
class=
"highlight"
>
Pool for this Fellowship
</h3>
<table
class=
"table table-hover"
>
<table
class=
"table table-hover"
>
<thead>
<thead>
<tr>
<tr>
...
...
This diff is collapsed.
Click to expand it.
colleges/templates/colleges/fellowship_list.html
+
4
−
4
View file @
9dcfbcda
...
@@ -31,13 +31,13 @@
...
@@ -31,13 +31,13 @@
View by discipline/subject area:
View by discipline/subject area:
</li>
</li>
{% for discipline in subject_areas %}
{% for discipline in subject_areas %}
<li
class=
"list-inline-item"
>
<li
class=
"list-inline-item
m-0
"
>
<div
class=
"dropdown"
>
<div
class=
"dropdown"
>
<button
class=
"btn btn-primary dropdown-toggle"
type=
"button"
id=
"dropdownMenuButton{{ discipline.0|cut:"
"
}}"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
{{ discipline.0 }}
</button>
<button
class=
"btn btn-primary dropdown-toggle
py-1 px-2
"
type=
"button"
id=
"dropdownMenuButton{{ discipline.0|cut:"
"
}}"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<small>
{{ discipline.0 }}
</
small></
button>
<div
class=
"dropdown-menu"
aria-labelledby=
"dropdownMenuButton{{ discipline.0|cut:"
"
}}"
>
<div
class=
"dropdown-menu"
aria-labelledby=
"dropdownMenuButton{{ discipline.0|cut:"
"
}}"
>
<a
class=
"dropdown-item"
href=
"{% url 'colleges:fellowships' discipline=discipline.0|cut:' ' %}"
>
View all in {{ discipline.0 }}
</a>
<a
class=
"dropdown-item"
href=
"{% url 'colleges:fellowships' discipline=discipline.0|cut:' ' %}"
>
<small>
View all in {{ discipline.0 }}
</
small></
a>
{% for area in discipline.1 %}
{% for area in discipline.1 %}
<a
class=
"dropdown-item"
href=
"{% url 'colleges:fellowships' discipline=discipline.0|cut:' ' expertise=area.0 %}"
>
{{ area.0 }}
</a>
<a
class=
"dropdown-item"
href=
"{% url 'colleges:fellowships' discipline=discipline.0|cut:' ' expertise=area.0 %}"
>
<small>
{{ area.0 }}
</
small></
a>
{% endfor %}
{% endfor %}
</div>
</div>
</div>
</div>
...
...
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