Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-05-22 10:34:01 +0300
committerJulius Härtl <jus@bitgrid.net>2018-05-22 10:43:03 +0300
commit247b99739d2f41ae85a05111467cbf4a023ebdb6 (patch)
tree565cca76289b59b2e31324dc8678656f03eef2cc /templates
parent4f50d9cd545f637443d07ef2b4d26e4b3976c919 (diff)
Add client links to personal settings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'templates')
-rw-r--r--templates/settings/personal/clients.php43
1 files changed, 43 insertions, 0 deletions
diff --git a/templates/settings/personal/clients.php b/templates/settings/personal/clients.php
new file mode 100644
index 000000000..a4b8e343f
--- /dev/null
+++ b/templates/settings/personal/clients.php
@@ -0,0 +1,43 @@
+<?php
+/**
+ * @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
+ *
+ * @author Julius Härtl <jus@bitgrid.net>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+/** @var \OCP\Defaults $theme */
+/** @var array $_ */
+?>
+
+<div id="clients-talk" class="followupsection clientsbox">
+ <h2><?php p($l->t('%s Talk on your mobile devices', [$theme->getName()]));?></h2>
+
+ <p><?php p($l->t('Join conversations at any time, any where, on any device.')); ?></p>
+
+ <div class="clientslinks">
+ <a href="<?php p($_['clients']['android']); ?>" rel="noreferrer" target="_blank">
+ <img src="<?php print_unescaped(image_path('core', 'googleplay.png')); ?>"
+ alt="<?php p($l->t('Android app'));?>" />
+ </a>
+ <a href="<?php p($_['clients']['ios']); ?>" rel="noreferrer" target="_blank">
+ <img src="<?php print_unescaped(image_path('core', 'appstore.svg')); ?>"
+ alt="<?php p($l->t('iOS app'));?>" />
+ </a>
+ </div>
+</div> \ No newline at end of file