Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
my-spot
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
e
cloud
my-spot
Commits
785f0938
Commit
785f0938
authored
Jun 09, 2020
by
Adam Tauber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] add link to wikidata entities in infobox - fixes #1097
parent
d5e14625
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
searx/templates/oscar/infobox.html
searx/templates/oscar/infobox.html
+5
-1
No files found.
searx/templates/oscar/infobox.html
View file @
785f0938
...
...
@@ -16,7 +16,11 @@
{%- if attribute.image -%}
<td><img
class=
"img-responsive"
src=
"{{ image_proxify(attribute.image.src) }}"
alt=
"{{ attribute.image.alt }}"
/></td>
{%- else -%}
<td><bdi>
{{ attribute.value }}
</bdi></td>
{% if attribute.label == 'Instance of' %}
<td><bdi><a
href=
"https://wikidata.org/wiki/{{ attribute.value.id }}"
>
{{ attribute.value.id }}
</a></bdi></td>
{% else %}
<td><bdi>
{{ attribute.value }}
</bdi></td>
{%- endif -%}
{%- endif -%}
</tr>
{% endfor -%}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment