Modify ↓
#11598 closed enhancement (fixed)
Replace b tags
| Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0.2 |
| Component: | general | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: |
Replaced |
||
| API Changes: | |||
| Internal Changes: | |||
Description
There are several instances of b tags that should probably be replaced with strong tags.
The codebase was inspected after comment:12:ticket:6634:
$ grep -r tag.\b\(
sample-plugins/Timestamp.py: return tag.b(format_datetime(t, '%c'))
trac/notification.py: "configuration.", from_=tag.b('[notification] smtp_from'),
trac/notification.py: reply_to=tag.b('[notification] smtp_replyto')))))
trac/timeline/web_ui.py: tag.b(exception_to_unicode(exc)), class_='message'),
trac/wiki/intertrac.py: yield tag.tr(tag.td(tag.b(prefix)),
trac/wiki/intertrac.py: tag.td('Alias for ', tag.b(intertrac)))
trac/wiki/intertrac.py: yield tag.tr(tag.td(tag.a(tag.b(prefix),
trac/wiki/default-pages/WikiMacros: return tag.b(format_datetime(t, '%c'))
trac/versioncontrol/web_ui/changeset.py: [tag.li(tag.b(path) if isdir else path)
Attachments (0)
Change History (5)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
| Release Notes: | modified (diff) |
|---|---|
| Status: | new → assigned |
comment:3 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
| Type: | task → enhancement |
comment:4 by , 12 years ago
The <b> tag is used in some template files.
$ grep -r --include='*.html' '<strong\b' trac tracopt | wc -l 48 $ grep -r --include='*.html' '<b\b' trac tracopt | wc -l 4
$ grep -r --include='*.html' '<b\b' trac tracopt
trac/versioncontrol/templates/repository_index.html: <b py:strip="repoinfo.alias != ''">
trac/wiki/templates/wiki_edit_form.html: <b>Note:</b> See <a href="${href.wiki('WikiFormatting')}">WikiFormatting</a> and
trac/wiki/templates/wiki_edit.html: <p i18n:msg=""><b>If you save right away, you risk to revert those changes</b>
trac/templates/error.html: line <b>${frame.lineno + 1}</b>, in</span>
comment:5 by , 12 years ago
Note:
See TracTickets
for help on using tickets.



Wiki page edited in version 45. Proposed changes in log:rjollos.git:t11598.