Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
ed755173
Commit
ed755173
authored
Oct 12, 2020
by
Phil Höfer
Browse files
Add new Icon for verified key display
parent
97b392c2
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/img/Key-verified.svg
0 → 100644
View file @
ed755173
ioz"
\ No newline at end of file
resources/views/parts/searchbar.blade.php
View file @
ed755173
...
...
@@ -4,7 +4,7 @@
<div
class=
"search-input-submit"
>
<div
id=
"search-key"
>
<a
id=
"key-link"
@
if
(
isset
($
apiAuthorized
)
&&
$
apiAuthorized)class=
"authorized"
@
else
class=
"unauthorized"
@
endif
href=
"{{ action('KeyController@index', ['redirUrl' => !empty($metager) ? $metager->generateSearchLink($metager->getFokus()) : url()->full() ]) }}"
@
if
(!
empty
($
metager
)
&&
$
metager-
>
isFramed())target="_top" @endif data-tooltip="{{ trans ('index.key.tooltip') }}" tabindex="0">
<img
src=
"/img/key-icon.svg"
alt=
""
aria-hidden=
"true"
id=
"searchbar-img-key"
>
<img
@
if
(
isset
($
apiAuthorized
)
&&
$
apiAuthorized)src=
"/img/key-verified.svg"
@
else
src=
"/img/key-icon.svg"
@
endif
alt=
""
aria-hidden=
"true"
id=
"searchbar-img-key"
>
</a>
</div>
<div
class=
"search-input"
>
...
...
Write
Preview
Supports
Markdown
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