Minor fixes to labels and dates

This commit is contained in:
2025-12-12 00:08:43 +01:00
parent f45d754c91
commit fc527d5cd1
4 changed files with 4 additions and 3 deletions

View File

@@ -111,7 +111,7 @@
</tr> </tr>
<tr> <tr>
<th class="w-33" scope="row">Date</th> <th class="w-33" scope="row">Date</th>
<td>{{ book.publication_year|default:"-" }} / {{ book.publication_month|default:"-" }}</td> <td>{{ book.publication_year|default:"-" }} / {{ book.get_publication_month_display|default:"-" }}</td>
</tr> </tr>
{% endif %} {% endif %}
<tr> <tr>

View File

@@ -72,7 +72,7 @@
</tr> </tr>
<tr> <tr>
<th class="w-33" scope="row">Date</th> <th class="w-33" scope="row">Date</th>
<td>{{ d.item.publication_year|default:"-" }} / {{ d.item.publication_month|default:"-" }}</td> <td>{{ d.item.publication_year|default:"-" }} / {{ d.item.get_publication_month_display|default:"-" }}</td>
</tr> </tr>
<tr> <tr>
<th class="w-33" scope="row">Pages</th> <th class="w-33" scope="row">Pages</th>

View File

@@ -717,6 +717,7 @@ class GetMagazineIssue(View):
"documents": documents, "documents": documents,
"properties": properties, "properties": properties,
"type": "magazineissue", "type": "magazineissue",
"label": "Magazine issue",
}, },
) )

View File

@@ -1,4 +1,4 @@
from ram.utils import git_suffix from ram.utils import git_suffix
__version__ = "0.18.3" __version__ = "0.18.4"
__version__ += git_suffix(__file__) __version__ += git_suffix(__file__)