Skip to content

Commit

Permalink
feat(header): add link to webmail
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Henseler <[email protected]>
  • Loading branch information
bromiesTM committed Jul 29, 2024
1 parent 6770363 commit 88ba9e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions IONOS/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</a>

<div class="header-right">
{#if $$slots.webmail}
<slot name="webmail" />
{/if}
<slot />
</div>
</div>
Expand Down
3 changes: 3 additions & 0 deletions core/templates/layout.user.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
<header id="ionos-global-nav">
<ionos-global-nav
home_src="<?php p(\OC::$server->get(\OCP\IURLGenerator::class)->linkTo('', 'index.php'))?>">
<a href="https://email.ionos.fr/" target="_blank" slot="webma title="IONOS WEBMAIL" data-qa="IONOS-WEBMAIL-TARGET">
<ionos-icons webmail />
</a>
<a href="<?php p(\OC_User::getLogoutUrl(\OC::$server->get(\OCP\IURLGenerator::class)))?>" style="color: var(--color-primary)">Logout</a>
<a href="<?php p(\OC::$server->get(\OCP\IURLGenerator::class)->linkToRoute('settings.PersonalSettings.index'))?>" style="color: var(--color-primary)">Settings</a>
</ionos-global-nav>
Expand Down

0 comments on commit 88ba9e5

Please sign in to comment.