Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoh committed Aug 20, 2015
1 parent 4613613 commit 062d43b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/src/main/resources/k5client.properties
Original file line number Diff line number Diff line change
Expand Up @@ -307,3 +307,4 @@ query.placeholder=Search digital library
buttons.outofdocument=Leave document
browse.placeholder=Search in titles and authors
buttons.search=Search
only.public=only public
1 change: 1 addition & 0 deletions client/src/main/resources/k5client_cs.properties
Original file line number Diff line number Diff line change
Expand Up @@ -278,3 +278,4 @@ query.placeholder=Hledej v digitální knihovně
buttons.outofdocument=Opustit dokument
browse.placeholder=Hledat v názvech a autorech
buttons.search=Hledat
only.public=pouze veřejné
6 changes: 6 additions & 0 deletions client/src/main/webapp/WEB-INF/search_form.vm
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
#foreach($filter in $search.usedFilters.entrySet())
<input class="facet" type="hidden" name="$filter.key" value="$esc.html($filter.value)" />
#end
#if(!$params.page || $params.page == 'home')
<div style="margin-top: 5px;">
<label for="dostupnost">#translatable("only.public")</label>
<input style="width: 20px;" class="facet" type="checkbox" id="dostupnost" name="dostupnost" value="public">
</div>
#end

</form>
</div>

0 comments on commit 062d43b

Please sign in to comment.