Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KDE.org Applications Subsite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Websites
KDE.org Applications Subsite
Commits
9267ed53
Commit
9267ed53
authored
Oct 19, 2020
by
Carl Schwan
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update path for icons
parent
3ac2fca9
Pipeline
#38106
failed with stage
in 31 minutes and 18 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
templates/category.html.twig
templates/category.html.twig
+3
-3
templates/main/application.html.twig
templates/main/application.html.twig
+1
-1
No files found.
templates/category.html.twig
View file @
9267ed53
...
@@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
...
@@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{{
category.name
|
capitalize
|
trans
}}
{{
category.name
|
capitalize
|
trans
}}
</a>
</a>
{%
if
category.icon
is
not
null
%}
{%
if
category.icon
is
not
null
%}
<img
aria-hidden=
"true"
width=
"36"
height=
"36"
src=
"
{{
asset
(
'icons/categories/'
~
category.icon
)
}}
"
<img
aria-hidden=
"true"
width=
"36"
height=
"36"
src=
"
{{
asset
(
'
app-
icons/categories/'
~
category.icon
)
}}
"
{%
if
lazy
%}
{%
if
lazy
%}
loading=
"lazy"
loading=
"lazy"
{%
endif
%}
{%
endif
%}
...
@@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
...
@@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<div
class=
"p-3 h-100"
>
<div
class=
"p-3 h-100"
>
<div
aria-hidden=
"true"
>
<div
aria-hidden=
"true"
>
<a
href=
"
{{
path
(
'app_main_application_intl'
,
{
'_locale'
:
locale
,
'application'
:
application.simplifiedId
}
)
}}
"
>
<a
href=
"
{{
path
(
'app_main_application_intl'
,
{
'_locale'
:
locale
,
'application'
:
application.simplifiedId
}
)
}}
"
>
<img
width=
"48"
height=
"48"
src=
"
{{
asset
(
'icons/'
~
application.icon
)
}}
"
<img
width=
"48"
height=
"48"
src=
"
{{
asset
(
'
app-
icons/'
~
application.icon
)
}}
"
loading=
"lazy"
loading=
"lazy"
alt=
"
{{
application.name
|
l10n
(
locale
)
}}
"
title=
"
{{
application.name
|
l10n
(
locale
)
}}
"
/>
alt=
"
{{
application.name
|
l10n
(
locale
)
}}
"
title=
"
{{
application.name
|
l10n
(
locale
)
}}
"
/>
</a>
</a>
...
@@ -54,7 +54,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
...
@@ -54,7 +54,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<div
class=
"p-3 h-100"
>
<div
class=
"p-3 h-100"
>
<div
aria-hidden=
"true"
>
<div
aria-hidden=
"true"
>
<a
href=
"
{{
path
(
'app_main_application_intl'
,
{
'_locale'
:
locale
,
'application'
:
application.simplifiedId
}
)
}}
"
>
<a
href=
"
{{
path
(
'app_main_application_intl'
,
{
'_locale'
:
locale
,
'application'
:
application.simplifiedId
}
)
}}
"
>
<img
width=
"48"
height=
"48"
src=
"
{{
asset
(
'icons/'
~
application.icon
)
}}
"
<img
width=
"48"
height=
"48"
src=
"
{{
asset
(
'
app-
icons/'
~
application.icon
)
}}
"
alt=
"
{{
application.name
|
l10n
(
locale
)
}}
"
title=
"
{{
application.name
|
l10n
(
locale
)
}}
"
/>
alt=
"
{{
application.name
|
l10n
(
locale
)
}}
"
title=
"
{{
application.name
|
l10n
(
locale
)
}}
"
/>
</a>
</a>
</div>
</div>
...
...
templates/main/application.html.twig
View file @
9267ed53
...
@@ -30,7 +30,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
...
@@ -30,7 +30,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<div
class=
"application-header pt-2 pb-2"
>
<div
class=
"application-header pt-2 pb-2"
>
<div
class=
"container d-flex"
>
<div
class=
"container d-flex"
>
<img
src=
"
{{
asset
(
'icons/'
~
application.icon
)
}}
"
alt=
"
{%
trans
%}
%name% Icon
{%
endtrans
%}
"
<img
src=
"
{{
asset
(
'
app-
icons/'
~
application.icon
)
}}
"
alt=
"
{%
trans
%}
%name% Icon
{%
endtrans
%}
"
width=
"64"
height=
"64"
class=
"mr-2"
aria-hidden=
"true"
/>
width=
"64"
height=
"64"
class=
"mr-2"
aria-hidden=
"true"
/>
<div>
<div>
<h1
style=
"font-size: 1.5rem"
>
<h1
style=
"font-size: 1.5rem"
>
...
...
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