summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-01-28 23:49:54 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-01-28 23:49:54 +0000
commitb31482d8e4cdc42c6bf31d1973efd3854cff8010 (patch)
tree2b298d9b159010a61fe38eeee336b69e3c7a4333
parenta79cf75ab3ad3c1dc892fe4d09762996c11611c7 (diff)
put issue title and creator on top
-rw-r--r--html/issue.item.html18
-rw-r--r--html/issue.search.html2
-rw-r--r--html/style.css6
3 files changed, 17 insertions, 9 deletions
diff --git a/html/issue.item.html b/html/issue.item.html
index 61e66ad..d2e849c 100644
--- a/html/issue.item.html
+++ b/html/issue.item.html
@@ -25,7 +25,7 @@
<td class="content" metal:fill-slot="content">
-<p tal:condition="python:not (context.is_view_ok()
+<p class="error-message" tal:condition="python:not (context.is_view_ok()
or request.user.hasRole('Anonymous'))" i18n:translate="">
You are not allowed to view this page.</p>
@@ -35,12 +35,20 @@
<div tal:condition="context/is_view_ok">
+<h2 tal:content="python:context.title.plain()"/>
+<p tal:condition="context/id" i18n:translate="">
+ Created on <strong tal:content="context/creation" i18n:name="creation" />
+ by <strong tal:content="context/creator" i18n:name="creator" />,
+ last changed <strong content="context/activity" i18n:name="activity" />
+ by <strong tal:content="context/actor" i18n:name="actor" />.
+</p>
+
<form method="POST" name="itemSynopsis"
onSubmit="return submit_once()" enctype="multipart/form-data"
tal:attributes="action context/designator">
<p class="important">
- <strong>IMPORTANT:</strong> to report a new issue, choose a good title, a <strong>reallistic</strong> priority level, and proper keywords.
+ <strong>IMPORTANT:</strong> to report a new issue, choose a good title, a <strong>reallistic</strong> priority level, and proper keywords. To report a problem with a package, preffix the title with [<em>pkgname</em>].
</p>
<table class="form">
@@ -125,12 +133,6 @@ python:db.user.classhelp('username,realname,address', property='nosy', width='60
</table>
</tal:block>
-<p tal:condition="context/id" i18n:translate="">
- Created on <b tal:content="context/creation" i18n:name="creation" />
- by <b tal:content="context/creator" i18n:name="creator" />,
- last changed <b content="context/activity" i18n:name="activity" />
- by <b tal:content="context/actor" i18n:name="actor" />.
-</p>
<table class="files" tal:condition="context/files">
<tr><th colspan="5" class="header" i18n:translate="">Files</th></tr>
diff --git a/html/issue.search.html b/html/issue.search.html
index ce3e08e..52ee80b 100644
--- a/html/issue.search.html
+++ b/html/issue.search.html
@@ -27,11 +27,11 @@
search_multiselect templates/page/macros/search_multiselect;">
<tr>
- <th class="header">&nbsp;</th>
<th class="header" i18n:translate="">Filter on</th>
<th class="header" i18n:translate="">Display</th>
<th class="header" i18n:translate="">Sort on</th>
<th class="header" i18n:translate="">Group on</th>
+ <th class="header">&nbsp;</th>
</tr>
<tr tal:define="name string:@search_text">
diff --git a/html/style.css b/html/style.css
index 33707db..0f8d150 100644
--- a/html/style.css
+++ b/html/style.css
@@ -621,14 +621,20 @@ table.nowrap td.wrap {
white-space: normal;
}
+p.important,
p.error-message,
p.ok-message {
text-align: center;
padding: 5px;
}
+p.important,
p.ok-message {
background-color: #8F8;
}
p.error-message {
background-color: #FF8888;
}
+table.form tbody th {
+ text-align: right;
+ padding-right: 5px;
+}