developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 11 years ago

Closed 11 years ago

#816 closed bug (fixed)

Bug quand un nombre impaire de widget est ajoute au dashboard admin

Reported by: geekbay Owned by:
Priority: normal Milestone: jelix 1.1
Component: module:master_admin Version: 1.1RC3
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

Le premier widget que l'on ajoute au dashboard admin s'ajoute en double. Voici un exemple de ce que j'ai fais: http://pastebin.com/m496ce08a

En fait a ce qu'il semble si on ajoute un nombre impaire de widget, il ajoute un. par exemple 1 widget il affiche 2, 3 widget il affiche le derniere en double.

Attachments (1)

dashboardpatch.diff (571 bytes) - added by geekbay 11 years ago.
Proposition de patch

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by geekbay

  • Summary changed from Bug premier widget ajoute au dashboard admin to Bug quand un nombre impaire de widget est ajoute au dashboard admin

Changed 11 years ago by geekbay

Proposition de patch

comment:2 Changed 11 years ago by Lipki

  • review set to review?

il manque un }

{assign $nbPerCol = ceil(count($widgets)/2) 

comment:3 Changed 11 years ago by laurentj

  • Component changed from jelix to module:master_admin
  • Milestone set to jelix 1.1

comment:4 Changed 11 years ago by laurentj

  • Resolution set to fixed
  • review changed from review? to review+
  • Status changed from new to closed

Patch landed in the trunk + 1.1.x branch. r1295.

Note: See TracTickets for help on using tickets.