diff options
author | Frank Karlitschek <karlitschek@kde.org> | 2012-04-21 15:30:58 +0200 |
---|---|---|
committer | Frank Karlitschek <karlitschek@kde.org> | 2012-04-21 15:30:58 +0200 |
commit | 6bfe2289be05e9f54272a86a0f957ec41ef32e28 (patch) | |
tree | 2cf690624aee2f1a5fa943066d3501499f13562d /settings/templates/apps.php | |
parent | ef80ad1d48fa7cb61bb0003c0a22928f075ddc60 (diff) | |
download | nextcloud-server-6bfe2289be05e9f54272a86a0f957ec41ef32e28.tar.gz nextcloud-server-6bfe2289be05e9f54272a86a0f957ec41ef32e28.zip |
improve the app installer.
show a label if an app is an internal app or a third party app from the app store.
show a preview image of the app if available
Diffstat (limited to 'settings/templates/apps.php')
-rw-r--r-- | settings/templates/apps.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/settings/templates/apps.php b/settings/templates/apps.php index 1e49b4c8928..d25ca1bc7fb 100644 --- a/settings/templates/apps.php +++ b/settings/templates/apps.php @@ -5,7 +5,7 @@ */?> <div id="controls"> - <a class="button" target="_blank" href="http://owncloud.org/dev/writing-apps/"><?php echo $l->t('Add your application');?></a> + <a class="button" target="_blank" href="http://owncloud.org/dev/writing-apps/"><?php echo $l->t('Add your App');?></a> </div> <ul id="leftcontent"> <?php foreach($_['apps'] as $app):?> @@ -14,12 +14,14 @@ <span class="hidden"> <?php OC_JSON::encodedPrint($app,false) ?> </span> + <?php if(!$app['internal']) echo '<small class="externalapp">3rd party</small>' ?> </li> <?php endforeach;?> </ul> <div id="rightcontent"> - <h3><strong><span class="name"><?php echo $l->t('Select an App');?></span></strong><span class="version"></span></h3> + <h3><strong><span class="name"><?php echo $l->t('Select an App');?></span></strong><span class="version"></span><small class="externalapp" style="visibility:hidden;"></small></h3> <p class="description"></p> + <img src="" class="preview" /> <p class="hidden"><span class="licence"></span><?php echo $l->t('-licensed');?> <?php echo $l->t('by');?> <span class="author"></span></p> <input class="enable hidden" type="submit" /> </div> |