Skip to content

Commit

Permalink
further content refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalGawor committed Oct 2, 2024
1 parent dd65c26 commit a44b5c0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dogui/dogui/templates/UI/_about.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% block title %} - About{% endblock title %}
{% block content %}
<div id="content">
<h1>About the CLARIN Digital Object Gateway</h1>
<h1>About the CLARIN ERIC Digital Object Gateway</h1>
<p>Digital Object Gateway is a web service exposing DOGlib functionality over UI and API for increased machine
resolvability and processability of metadata
Service is available through this user interface and a RESTful
Expand Down
2 changes: 1 addition & 1 deletion dogui/dogui/templates/UI/_content.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends 'UI/_.html' %}
{% block content %}
<div id="content">
Welcome to CLARIN-ERIC Digital Object Gate. The goal of DOG is to ease access to referenced resources in metadata.
Welcome to CLARIN ERIC Digital Object Gateway. The goal of DOG is to ease access to referenced resources in metadata.
Currently, DOG supports 4 functionalities:
<ul>
<li>sniff - checks if input PID points to a registered repository</li>
Expand Down
2 changes: 1 addition & 1 deletion dogui/dogui/templates/UI/_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class='periphery'
role='navigation'>
<div id='brand'>
<a href='/'><span>Digital Object Gate</span></a>
<a href='/'><span>Digital Object Gateway</span></a>
</div>
<div id='menu'>

Expand Down
4 changes: 2 additions & 2 deletions dogui/dogui/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, pid: str, taxonomy_dict: dict):
for child_id in taxonomy_dict[pid]["children"]:
self.children.append(TaxonomyNode(child_id, taxonomy_dict))
self.has_children = self._has_children()

def _has_children(self) -> bool:
asd
def _has_children(self) -> bool:asd
return True if self.children else False

0 comments on commit a44b5c0

Please sign in to comment.