Skip to content

Commit

Permalink
Possibilité de supprimer le dossier par défaut dans la gestion des fl…
Browse files Browse the repository at this point in the history
…ux et suppression lien inutile
  • Loading branch information
Simounet committed Feb 16, 2016
1 parent af739ac commit 199c1f5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions templates/marigolds/settings.html
Expand Up @@ -75,13 +75,11 @@ <h3>{function="_t('FEED_OPTION')"}</h3>

{$feedsForFolder=$value->getFeeds()}

<li>{if="$value->getId()==1"}<a id="defaultFolder"></a>{/if}
<li>
<h1 class="folder left" ><span>{$value->getName()}</span> ({function="count($feedsForFolder)"})

<button onclick="renameFolder(this,{$value->getId()})">{function="_t('RENAME')"}</button>
{if="$value->getId()!='1'"}
<button onclick="if(confirm('{function="_t('CONFIRM_DELETE_FOLDER')"}\n\n{$value->getName()}'))window.location='action.php?action=removeFolder&amp;id={$value->getId()}'">{function="_t('DELETE')"}</button>
{/if}

<div class="clear"></div>
</h1>
Expand Down

0 comments on commit 199c1f5

Please sign in to comment.