changeset 206:131fd1eeb132

css (tickets): hide "author" field when editing a ticket
author Goffi <goffi@goffi.org>
date Wed, 12 Jun 2019 09:14:53 +0200
parents e03e085bf7e8
children 15db910a957a
files sat_templates/templates/default/static/ticket.css
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sat_templates/templates/default/static/ticket.css	Wed Jun 12 09:13:42 2019 +0200
+++ b/sat_templates/templates/default/static/ticket.css	Wed Jun 12 09:14:53 2019 +0200
@@ -112,6 +112,18 @@
     margin-top: 3em;
 }
 
+/* edit/new ticket */
+
+.create #wid_author,
+.create label[for="wid_author"]
+{
+    /* workaround to keep author when node owner/admin modify a ticket and
+     * "consistent publisher" is activated. We don't want to display it as there
+     * is not need to modify it manually */
+    display: none;
+}
+
+
 @media (min-width: 800px) {
     ul.xmlui_list {
         padding: 0 2em;