diff --git a/translations/en.json b/translations/en.json index c054524ce..f86afce2b 100644 --- a/translations/en.json +++ b/translations/en.json @@ -130,5 +130,6 @@ "Emoji Search": "Emoji Search", "No results": "No results", "Skills search": "Skills search", - "Shared Items Search": "Shared Items Search" + "Shared Items Search": "Shared Items Search", + "Contact": "Contact" } diff --git a/translations/fr.json b/translations/fr.json index c165178d7..e63ff8147 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -130,5 +130,6 @@ "Emoji Search": "Emoji recherche", "No results": "Aucun résultat", "Skills search": "Recherche de compétences", - "Shared Items Search": "Recherche d'articles partagés" + "Shared Items Search": "Recherche d'articles partagés", + "Contact": "Contact" } diff --git a/webinterface.py b/webinterface.py index f40488724..3ff0933d9 100644 --- a/webinterface.py +++ b/webinterface.py @@ -147,13 +147,13 @@ def htmlSearchSharedItems(translate: {}, \ sharedItemsForm+='' sharedItemsForm+='Item image' sharedItemsForm+='

'+sharedItem['summary']+'

' - sharedItemsForm+='

Type: '+sharedItem['itemType']+' ' - sharedItemsForm+='Category: '+sharedItem['category']+' ' - sharedItemsForm+='Location: '+sharedItem['location']+'

' + sharedItemsForm+='

'+translate['Type']+': '+sharedItem['itemType']+' ' + sharedItemsForm+=''+translate['Category']+': '+sharedItem['category']+' ' + sharedItemsForm+=''+translate['Location']+': '+sharedItem['location']+'

' contactActor=httpPrefix+'://'+domainFull+'/users/'+contactNickname - sharedItemsForm+='

' + sharedItemsForm+='

' if actor.endswith('/users/'+contactNickname): - sharedItemsForm+=' ' + sharedItemsForm+=' ' sharedItemsForm+='

' if not resultsExist and currPage>1: # previous page link, needs to be a POST