mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-22 20:51:58 +00:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e45832be2b | ||
|
|
75bb5377c8 | ||
|
|
e4fc2ff14d | ||
|
|
b33274a3ea | ||
|
|
11abd513e9 | ||
|
|
4e35220e5b | ||
|
|
9126efbe42 | ||
|
|
2227e8d204 |
@@ -10,7 +10,7 @@ Types of Contributions
|
||||
Report Bugs
|
||||
~~~~~~~~~~~
|
||||
|
||||
Report bugs at https://github.com/mb-wali/invenio-theme-tugraz/issues.
|
||||
Report bugs at https://github.com/tu-graz-library/invenio-theme-tugraz/issues.
|
||||
|
||||
If you are reporting a bug, please include:
|
||||
|
||||
@@ -41,7 +41,7 @@ Submit Feedback
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
The best way to send feedback is to file an issue at
|
||||
https://github.com/mb-wali/invenio-theme-tugraz/issues.
|
||||
https://github.com/tu-graz-library/invenio-theme-tugraz/issues.
|
||||
|
||||
If you are proposing a feature:
|
||||
|
||||
@@ -55,7 +55,7 @@ Get Started!
|
||||
|
||||
Ready to contribute? Here's how to set up `invenio-theme-tugraz` for local development.
|
||||
|
||||
1. Fork the `https://github.com/mb-wali/invenio-theme-tugraz.git` repo on GitHub.
|
||||
1. Fork the `https://github.com/tu-graz-library/invenio-theme-tugraz.git` repo on GitHub.
|
||||
2. Clone your fork locally:
|
||||
|
||||
.. code-block:: console
|
||||
@@ -114,5 +114,5 @@ Before you submit a pull request, check that it meets these guidelines:
|
||||
2. If the pull request adds functionality, the docs should be updated. Put
|
||||
your new functionality into a function with a docstring.
|
||||
3. The pull request should work for Python 2.7, 3.5 and 3.6. Check
|
||||
https://travis-ci.com/github/mb-wali/invenio-theme-tugraz/pull_requests
|
||||
https://travis-ci.com/github/tu-graz-library/invenio-theme-tugraz/pull_requests
|
||||
and make sure that the tests pass for all supported Python versions.
|
||||
|
||||
14
README.rst
14
README.rst
@@ -9,17 +9,17 @@
|
||||
invenio-theme-tugraz
|
||||
======================
|
||||
|
||||
.. image:: https://travis-ci.com/mb-wali/invenio-theme-tugraz.svg
|
||||
:target: https://travis-ci.com/github/mb-wali/invenio-theme-tugraz
|
||||
.. image:: https://travis-ci.com/tu-graz-library/invenio-theme-tugraz.svg
|
||||
:target: https://travis-ci.com/github/tu-graz-library/invenio-theme-tugraz
|
||||
|
||||
.. image:: https://img.shields.io/pypi/dm/invenio-theme-tugraz.svg
|
||||
:target: https://pypi.python.org/pypi/invenio-theme-tugraz
|
||||
|
||||
.. image:: https://img.shields.io/github/tag/mb-wali/invenio-theme-tugraz.svg
|
||||
:target: https://github.com/mb-wali/invenio-theme-tugraz/releases
|
||||
.. image:: https://img.shields.io/github/tag/tu-graz-library/invenio-theme-tugraz.svg
|
||||
:target: https://github.com/tu-graz-library/invenio-theme-tugraz/releases
|
||||
|
||||
.. image:: https://img.shields.io/github/license/mb-wali/invenio-theme-tugraz.svg
|
||||
:target: https://github.com/mb-wali/invenio-theme-tugraz/blob/master/LICENSE
|
||||
.. image:: https://img.shields.io/github/license/tu-graz-library/invenio-theme-tugraz.svg
|
||||
:target: https://github.com/tu-graz-library/invenio-theme-tugraz/blob/master/LICENSE
|
||||
|
||||
.. image:: https://readthedocs.org/projects/invenio-theme-tugraz/badge/?version=latest
|
||||
:target: https://invenio-theme-tugraz.readthedocs.io/en/latest/?badge=latest
|
||||
@@ -27,6 +27,8 @@
|
||||
.. image:: https://img.shields.io/coveralls/mb-wali/invenio-theme-tugraz.svg
|
||||
:target: https://coveralls.io/r/mb-wali/invenio-theme-tugraz
|
||||
|
||||
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
|
||||
:target: https://github.com/psf/black
|
||||
|
||||
TU Graz standard theme.
|
||||
|
||||
|
||||
@@ -116,13 +116,13 @@ html_theme = "alabaster"
|
||||
|
||||
html_theme_options = {
|
||||
"description": "invenio module for TUGRAZ theme.",
|
||||
"github_user": "inveniosoftware",
|
||||
"github_user": "TU Graz",
|
||||
"github_repo": "invenio-theme-tugraz",
|
||||
"github_button": False,
|
||||
"github_banner": True,
|
||||
"show_powered_by": False,
|
||||
"extra_nav_links": {
|
||||
"invenio-theme-tugraz@GitHub": "https://github.com/mb-wali/invenio-theme-tugraz",
|
||||
"invenio-theme-tugraz@GitHub": "https://github.com/tu-graz-library/invenio-theme-tugraz",
|
||||
"invenio-theme-tugraz@PyPI": "https://pypi.python.org/pypi/invenio-theme-tugraz/",
|
||||
},
|
||||
}
|
||||
|
||||
BIN
invenio_theme_tugraz/static/images/library_logo.png
Normal file
BIN
invenio_theme_tugraz/static/images/library_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
@@ -70,7 +70,7 @@
|
||||
|
||||
<h4>
|
||||
<a href="{{ record_url }}">
|
||||
{{r.metadata.titles[0].title}}
|
||||
{{r.metadata.title}}
|
||||
</a>
|
||||
</h4>
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
|
||||
<p class="hidden-xs">
|
||||
<a href="{{record_url}}">
|
||||
{{ r.metadata.descriptions[0].description | striptags | truncate(300) }}
|
||||
{{ r.metadata.description | striptags | truncate(300) }}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
{%- for creators in authors_list %}
|
||||
|
||||
{%- if creators.identifiers.Orcid %}
|
||||
<a href="{{creators.identifiers.Orcid|pid_url('orcid')}}" target="_blank" ><img class="inline-orcid" src="{{ url_for('static', filename='extra/orcid.png')}}" /></a>
|
||||
{%- if creators.identifiers.orcid %}
|
||||
<a href="{{creators.identifiers.orcid|pid_url('orcid')}}" target="_blank" ><img class="inline-orcid" src="{{ url_for('static', filename='extra/orcid.png')}}" /></a>
|
||||
{%- endif %}
|
||||
|
||||
<span class="text-muted" {% if creators.affiliations %} {% for affiliation in creators.affiliations %} data-toggle="tooltip" title="{{affiliation.name}}" {%- endfor %} {% endif %}>{{creators.name}}</span>
|
||||
@@ -25,7 +25,7 @@
|
||||
<!--TODO: contributers-->
|
||||
{%- macro contributors(contributors_list) %}
|
||||
{%- for group in contributors_list|groupby('type')%}
|
||||
<h5>{{group.grouper|contributortype_title}}(s)</h5>
|
||||
<h5>{{group.grouper}}(s)</h5>
|
||||
{{authors(group.list)}}
|
||||
{%- endfor %}
|
||||
{%- endmacro %}
|
||||
@@ -58,7 +58,7 @@
|
||||
<div class="left floated left aligned six wide column" id="repo-logo">
|
||||
<div class="inline-elements">
|
||||
<div class="repo-img">
|
||||
<img height="51.862" src="{{ url_for('static', filename='images/Icon_1_v2.svg')}}">
|
||||
<img height="51.862" src="{{ url_for('static', filename='images/library_logo.png')}}">
|
||||
</div>
|
||||
<div class="affiliation-text">
|
||||
<a title="RDM" href="{{url_for('invenio_theme_tugraz.index')}}">
|
||||
|
||||
@@ -12,4 +12,4 @@ This file is imported by ``invenio_theme_tugraz.__init__``,
|
||||
and parsed by ``setup.py``.
|
||||
"""
|
||||
|
||||
__version__ = "1.0.5"
|
||||
__version__ = "1.0.9"
|
||||
|
||||
Reference in New Issue
Block a user