From: mkanat%bugzilla.org <> Date: Fri, 4 Dec 2009 14:20:39 +0000 (+0000) Subject: Bug 204106: Make enter_bug indicate which fields are mandatory X-Git-Tag: bugzilla-3.5.3~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c623cb93101c9bb8bf8c0428ca66dd5f7fdc63d;p=thirdparty%2Fbugzilla.git Bug 204106: Make enter_bug indicate which fields are mandatory Patch by Max Kanat-Alexander r=dkl, a=mkanat --- diff --git a/skins/standard/global.css b/skins/standard/global.css index 8eb7cc3b1c..457f909ee0 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -455,6 +455,15 @@ div.user_match { .field_value, form#Create th, form#Create td { vertical-align: top; } +th.required:before { + content: "* "; +} +th.required:before, span.required_star { + color: red; +} +input.required, select.required, span.required_explanation { + background-color: #fff7cd; +} .calendar_button { background: transparent url("global/calendar.png") no-repeat; diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 21f7959a2e..9b5944cc52 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -193,16 +193,20 @@ TUI_hide_default('expert_fields'); - - Hide + + Hide Advanced Fields [%# Show the link if the browser supports JS %] + + (* = + Required Field) + @@ -215,12 +219,13 @@ TUI_hide_default('expert_fields'); [%# We can't use the select block in these two cases for various reasons. %] - + Component: - [%# Build the lists of assignees and QA contacts if "usemenuforusers" is enabled. %] [% IF Param("usemenuforusers") %] [% assignees_list = user.get_userlist.clone %] @@ -482,10 +487,11 @@ TUI_hide_default('expert_fields'); - Summary: + Summary: + maxlength="255" spellcheck="true" aria-required="true" + class="required">