Modify ↓
Opened 9 years ago
Closed 9 years ago
#12378 closed defect (fixed)
Wiki history page uses class="ticket" for div#content
Reported by: | Jun Omae | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Milestone: | 1.2 |
Component: | wiki system | Version: | 1.0.10 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
|
||
API Changes: | |||
Internal Changes: |
Description
I noticed there is class="ticket"
in wiki history page while creating/customizing styles for our service. I think we should use class="wiki"
for wiki history page.
$ curl -s 'https://trac.edgewall.org/wiki/WikiStart?action=history' | grep -n 'class="ticket"' 128: <div id="content" class="ticket">
Attachments (0)
Change History (4)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Right, that's what diff_view.html
already uses:
<div id="content" class="${resource.realm}">
comment:3 by , 9 years ago
Component: | general → wiki system |
---|---|
Milestone: | next-dev-1.1.x → 1.2 |
Owner: | set to |
Status: | new → assigned |
Thanks. I found history_view.html
has hard-coded class="ticket"
.
-
trac/templates/history_view.html
diff --git a/trac/templates/history_view.html b/trac/templates/history_view.html index c4b3191c9..5163b4316 100644
a b 29 29 </head> 30 30 31 31 <body> 32 <div id="content" class=" ticket">32 <div id="content" class="${resource.realm}"> 33 33 <h1 i18n:msg="name">Change History for <a href="${url or url_of(resource)}">${name or name_of(resource)}</a></h1> 34 34 35 35 <form py:if="history" id="history" class="printableform" method="get" action="">
comment:4 by , 9 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Committed in [14601].
Note:
See TracTickets
for help on using tickets.
Looks like it's hard-coded in the template. We could use
resource.realm
.