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
0d3bb724
"scipost_django/journals/admin.py" did not exist on "a701c09b4ff591c4724907d2a960da1d3daf2c5e"
Commit
0d3bb724
authored
6 years ago
by
Jean-Sébastien Caux
Browse files
Options
Downloads
Patches
Plain Diff
Add auto-generated toc for Proceedings issue
parent
77ca71a5
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
proceedings/templates/proceedings/proceedings_details.html
+32
-7
32 additions, 7 deletions
proceedings/templates/proceedings/proceedings_details.html
proceedings/templates/proceedings/proceedings_toc.html
+7
-0
7 additions, 0 deletions
proceedings/templates/proceedings/proceedings_toc.html
with
39 additions
and
7 deletions
proceedings/templates/proceedings/proceedings_details.html
+
32
−
7
View file @
0d3bb724
...
...
@@ -16,13 +16,18 @@
{% include 'partials/proceedings/summary.html' with proceedings=proceedings %}
{% comment %}
<form
method=
"post"
action=
"{% url 'colleges:fellowship_terminate' fellowship.id %}"
class=
"d-inline"
>
{% csrf_token %}
<button
type=
"submit"
class=
"btn btn-danger"
>
Terminate Fellowship
</button>
</form>
<a
href=
"{% url 'colleges:fellowship_edit' fellowship.id %}"
class=
"btn btn-info ml-2"
>
Edit Fellowship
</a>
{% endcomment %}
{% comment %}
<form
method=
"post"
action=
"{% url 'colleges:fellowship_terminate' fellowship.id %}"
class=
"d-inline"
>
{% csrf_token %}
<button
type=
"submit"
class=
"btn btn-danger"
>
Terminate Fellowship
</button>
</form>
<a
href=
"{% url 'colleges:fellowship_edit' fellowship.id %}"
class=
"btn btn-info ml-2"
>
Edit Fellowship
</a>
{% endcomment %}
<h3>
Table of contents
</h3>
<p>
View the table of contents in
<a
href=
"javascript:;"
data-toggle=
"modal"
data-target=
"#textocmodal"
>
TeX format
</a>
</p>
<h3
class=
"mt-3"
>
All Guest Fellowships of this Proceedings
</h3>
...
...
@@ -60,6 +65,7 @@
</table>
<h3>
All Submissions for this Proceedings Issue
</h3>
<table
class=
"table table-hover"
>
<thead>
<tr>
...
...
@@ -82,4 +88,23 @@
</tbody>
</table>
<div
class=
"modal"
id=
"textocmodal"
tabindex=
"-1"
role=
"dialog"
aria-hidden=
"true"
aria-labelledby=
"textocmodal"
>
<div
class=
"modal-dialog modal-lg"
role=
"document"
>
<div
class=
"modal-content"
>
<div
class=
"modal-body"
>
<div
class=
"pb-4"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<span
aria-hidden=
"true"
>
×
</span>
</button>
</div>
<div>
{% include 'proceedings/proceedings_toc.html' with proceedings=proceedings %}
</div>
</div>
</div>
</div>
</div>
{% endblock %}
This diff is collapsed.
Click to expand it.
proceedings/templates/proceedings/proceedings_toc.html
0 → 100644
+
7
−
0
View file @
0d3bb724
<pre>
\begin{itemize}
{% for pub in proceedings.issue.publications.all|dictsort:"paper_nr" %}
\item {{ pub.author_list }}, {\it {{ pub.title }} }, {{ pub.paper_nr }}
{% endfor %}
\end{itemize}
</pre>
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