Changeset 512 for lang/javascript/trac
- Timestamp:
- 10/17/07 20:20:30 (6 years ago)
- Files:
-
- 1 modified
-
lang/javascript/trac/TracAuthorIcon.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/trac/TracAuthorIcon.js
r154 r512 90 90 } 91 91 92 if (TracAuthorIcon.getIconByAuthor(author)) { 92 var iconurl = TracAuthorIcon.getIconByAuthor(author); 93 if (iconurl) { 93 94 var img = document.createElement('img'); 94 img.src = TracAuthorIcon.getIconByAuthor(author);95 img.src = iconurl; 95 96 img.alt = ''; 96 97 img.style.marginRight = '0.5em'; 97 authorE.insertBefore(img, authorE.firstChild); 98 99 var a = document.createElement('a'); 100 a.href = TracAuthorIcon.getDiary(author); 101 a.appendChild(img); 102 103 authorE.insertBefore(a, authorE.firstChild); 98 104 } 105 } 106 107 , getDiary : function (author) { 108 return 'http://d.hatena.ne.jp/'+author; 99 109 } 100 110
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)