summaryrefslogtreecommitdiff
path: root/searx/templates/simple/preferences
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/simple/preferences')
-rw-r--r--searx/templates/simple/preferences/urlformatting.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/searx/templates/simple/preferences/urlformatting.html b/searx/templates/simple/preferences/urlformatting.html
new file mode 100644
index 000000000..ba11bdb63
--- /dev/null
+++ b/searx/templates/simple/preferences/urlformatting.html
@@ -0,0 +1,25 @@
+<fieldset>{{- '' -}}
+ <legend id="pref_url_formatting">{{- _('URL formatting') -}}</legend>{{- '' -}}
+ <div class="value">{{- '' -}}
+ <select name="url_formatting" aria-labelledby="pref_url_formatting">{{- '' -}}
+ <option value="pretty"
+ {%- if preferences.get_value('url_formatting') == 'pretty' %} selected="selected"
+ {%- endif -%}>
+ {{- _('Pretty') -}}
+ </option>{{- '' -}}
+ <option value="full"
+ {%- if preferences.get_value('url_formatting') == 'full' %} selected="selected"
+ {%- endif -%}>
+ {{- _('Full') -}}
+ </option>{{- '' -}}
+ <option value="host"
+ {%- if preferences.get_value('url_formatting') == 'host' %} selected="selected"
+ {%- endif -%}>
+ {{- _('Host') -}}
+ </option>{{- '' -}}
+ </select>{{- '' -}}
+ </div>{{- '' -}}
+ <div class="description">
+ {{- _('Change result URL formatting') -}}
+ </div>{{- '' -}}
+</fieldset>{{- '' -}}