Changeset 7602 in spip-zone


Ignore:
Timestamp:
Nov 27, 2006, 5:01:46 PM (12 years ago)
Author:
fil@…
Message:

ne pas afficher le crayon s'il n'y a que #EDIT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/widgets/widgets.js

    r7569 r7602  
    3030    '">' + this.mkimg('edit') + '</a><br />' : '';
    3131
     32  var cray = elt.className.match(/\b\w+-\w+-\d+\b/);
     33  cray = !cray ? '' : this.mkimg('crayon') + '<br />';
     34
    3235  return "<span class='widget-icones'><span>" +
    33       this.mkimg('crayon') + '<br />' + link +
     36      cray + link +
    3437      this.mkimg('img-changed') +
    3538    "</span></span>";
Note: See TracChangeset for help on using the changeset viewer.