Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
www
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Richard Marcus
www
Commits
1740cde9
Unverified
Commit
1740cde9
authored
6 years ago
by
Tom Wiesing
Browse files
Options
Downloads
Patches
Plain Diff
Reference Projects from Systems and vice-versa
parent
d1f5b794
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
_includes/psitem.html
+10
-1
10 additions, 1 deletion
_includes/psitem.html
_layouts/project.html
+14
-0
14 additions, 0 deletions
_layouts/project.html
_layouts/system.html
+11
-7
11 additions, 7 deletions
_layouts/system.html
with
35 additions
and
8 deletions
_includes/psitem.html
+
10
−
1
View file @
1740cde9
...
...
@@ -22,7 +22,16 @@
{% endif %}
<br
/>
{% endif %}
{% if item.supported-by %}
<b>
funded by
</b>
{% for project in item.supported-by %}
{% include project_chip.html project=project %}
{% endfor %}
<br
/>
{% endif %}
{{item.teaser | safe}}
</div>
</li>
This diff is collapsed.
Click to expand it.
_layouts/project.html
+
14
−
0
View file @
1740cde9
...
...
@@ -2,6 +2,8 @@
layout: default
---
{% assign id = page.url | replace: '/projects/', '' | replace: '/', '' %}
<div
class=
"row"
>
<div
class=
"col s12 m5 right"
>
<div
class=
"card"
>
...
...
@@ -81,6 +83,18 @@ layout: default
</div>
<br
/>
{% endfor %}
<!-- and list the systems it supports -->
<hr
/>
<b>
Funds:
</b>
{% assign systems = site.pages | where: "layout", "system" %}
{% for system in systems %}
{% if system.supported-by contains id %}
{% assign sid = system.url | replace: '/systems/', '' | replace: '/', '' %}
{% include system_chip.html system=sid %}
{% endif %}
{% endfor %}
</div>
{% assign hasaction = false %}
...
...
This diff is collapsed.
Click to expand it.
_layouts/system.html
+
11
−
7
View file @
1740cde9
...
...
@@ -15,6 +15,8 @@ layout: default
{% if page.subtitle %}
<h6>
{{page.subtitle}}
</h6>
{% endif %}
{% if page.teaser %}
<h6>
{{page.teaser}}
</h6>
{% endif %}
<hr
/>
{% if page.start_date %}
<p>
<b>
Start:
</b>
...
...
@@ -43,6 +45,15 @@ layout: default
{% for person in page.people %}
{% include people_chip.html person=person %}
{% endfor %}
{% if page.supported-by %}
<hr
/>
<b>
Funded by:
</b>
{% for project in page.supported-by %}
{% include project_chip.html project=project %}
{% endfor %}
{% endif %}
</div>
{% assign hasaction = false %}
...
...
@@ -61,13 +72,6 @@ layout: default
<a
target=
"_blank"
href=
"{{ page.repository }}"
>
Repository
</a>
{% endif %}
{% if page.supported-by %}
<br/>
funded by:
{% for project in page.supported-by %}
<a
target=
"_blank"
href=
"/projects/{{project}}"
>
{{project}}
</a>
{% endfor %}
{% endif %}
{% if page.publink == "auto" %}
<a
href=
"http://kwarc.github.io/bibs/{{ page.url | replace: '/projects/', '' | replace: '/', '' }}/"
>
Publications
</a>
{% elsif page.publink %}
...
...
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