Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit b783759

Browse files
author
Pavel Vyskočil
committed
Fix bug in disco-tpl
* Added missing space before 'addInstitutionButton' or link
1 parent 3ef192e commit b783759

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
All notable changes to this project will be documented in this file.
33

44
## [Unreleased]
5+
[Fixed]
6+
- Added missing space before 'addInstitutionButton' or link
57

68
## [v3.0.3]
79
[Fixed]

themes/perun/perun/disco-tpl.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,12 @@
213213

214214
echo '<div class="no-idp-found alert alert-info">';
215215
if ($this->isAddInstitutionApp()) {
216-
echo $this->t('{perun:disco:find_institution_contact}') .
216+
echo $this->t('{perun:disco:find_institution_contact}') . ' ' .
217217
'<a href="mailto:' . $addInstitutionEmail . '?subject=Request%20for%20adding%20new%20IdP">' .
218218
$addInstitutionEmail .
219219
'</a>';
220220
} else {
221-
echo $this->t('{perun:disco:find_institution_extended}') .
221+
echo $this->t('{perun:disco:find_institution_extended}') . ' ' .
222222
'<a class="btn btn-primary" href="' . $addInstitutionUrl . '">' .
223223
$this->t('{perun:disco:add_institution}') .
224224
'</a>';

0 commit comments

Comments
 (0)