diff --git a/app/views/api.scala.html b/app/views/api.scala.html index dff799b6..6f24e1fb 100644 --- a/app/views/api.scala.html +++ b/app/views/api.scala.html @@ -31,6 +31,10 @@ } @main("*", scripts = hypothesisEmbed) { +

@Messages.get("api.basics.header")

@desc("HTTP GET", routes.Application.get("DE-6", format="json")) diff --git a/app/views/main.scala.html b/app/views/main.scala.html index 04cbbfea..9d12f0a9 100644 --- a/app/views/main.scala.html +++ b/app/views/main.scala.html @@ -49,6 +49,7 @@ diff --git a/conf/messages.de b/conf/messages.de index ea2e26b7..9178d6ce 100644 --- a/conf/messages.de +++ b/conf/messages.de @@ -16,6 +16,7 @@ main.navbar.api.title = Programmierschnittstelle main.navbar.info.dataset = Datenbeschreibung main.navbar.info.feedback = Feedback zur aktuellen Seite +main.navbar.info.policy = Richtlinien API-Nutzung main.footer.text = ein LOD-Dienst des hbz — Hochschulbibliothekszentrum des Landes NRW main.footer.imprint = Impressum @@ -47,6 +48,7 @@ search.position_sort = In Ihrer Nähe # api +api.usage.policy = Technische und sonstige Hinweise zur lobid-Nutzung finden sich in den Richtlinien zur API-Nutzung. api.basics.header = API-Grundlagen api.basics.search = Suche über alle Felder api.basics.pagination = Suche mit Paginierung diff --git a/conf/messages.en b/conf/messages.en index 200f8505..78a68ede 100644 --- a/conf/messages.en +++ b/conf/messages.en @@ -16,6 +16,7 @@ main.navbar.api.title = Application programming interface main.navbar.info.dataset = Dataset description main.navbar.info.feedback = Feedback about current page +main.navbar.info.policy = Guidelines API usage main.footer.text = a LOD service by hbz — Hochschulbibliothekszentrum des Landes NRW main.footer.imprint = Imprint @@ -47,6 +48,7 @@ search.position_sort = Close to you # api +api.usage.policy = Technical and other guidance on the usage of lobid can be found in the API Usage Guidelines. api.basics.header = API basics api.basics.search = Query all fields api.basics.pagination = Query with pagination diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index a73b81c4..2425029d 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -122,3 +122,12 @@ small { color: blue; z-index: 100 !important; } + +#usage-policy { + margin-top: 20px; + /* + setting standard background-color for .alert-info + https://getbootstrap.com/docs/3.3/components/#alerts + */ + background-color: #d9edf7; +}