bug/bug.xhtml | 2 +- bug/bug/bug.css | 8 +++----- bug/bug/bug.js | 4 ++-- bug/bug/select.css | 2 +- bug/query.pl | 12 +++++++++++- 5 files changed, 18 insertions(+), 10 deletions(-)
New commits: commit 6b799019fd4c6471961aa7761e9752b364f4f09f Author: Rob Snelders <[email protected]> Date: Fri Nov 23 20:58:07 2012 +0100 fdo#43446 - BUGZILLAASSISTANT: Drop-down lists properties need fine tuning diff --git a/bug/query.pl b/bug/query.pl index ad79e00..c56a2b5 100644 --- a/bug/query.pl +++ b/bug/query.pl @@ -14,6 +14,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http:www.gnu.org/licenses/>. # + +use Scalar::Util qw(looks_like_number); + while(<STDIN>) { eval $_ if(s/(cpts|vers)\[(\d+)\]\s+=/\$$1\[$2\]=/); if(/<select\s+name="product"/../<\/select/) { @@ -30,7 +33,14 @@ while(<STDIN>) { print "<?xml version='1.0' encoding='ISO-8859-1'?>\n"; -@versions = sort(@{$vers[$libreoffice]}); +@versions = sort { + if (looks_like_number(substr($a, 0, 1)) == 0) { + return 1; + } elsif (looks_like_number(substr($b, 0, 1)) == 0) { + return -1; + } else { + return lc($b) cmp lc($a); + } } @{$vers[$libreoffice]}; print <<EOF; <div class="versions select"> <div class="select-header"> commit a37ad9d7635343d987d1f13f5abaf5dd07e30c23 Author: Rob Snelders <[email protected]> Date: Fri Nov 23 20:31:06 2012 +0100 Change the css-file so the width of the select is in the correct place diff --git a/bug/bug/bug.css b/bug/bug/bug.css index 8b27146..41936e2 100644 --- a/bug/bug/bug.css +++ b/bug/bug/bug.css @@ -566,10 +566,6 @@ body { color: #b8af9e; } -.select ul { - width: 225px; -} - .select li.choice:hover { background-color: #9ceb90; color: #32b21f; diff --git a/bug/bug/select.css b/bug/bug/select.css index 68718c1..540576f 100644 --- a/bug/bug/select.css +++ b/bug/bug/select.css @@ -26,7 +26,7 @@ margin: 0; padding: 0; max-height: 180px; - width: 190px; + width: 225px; overflow: auto; } commit c725259b7170c50c0aa5ed074472cabe2e1d89a3 Author: Rob Snelders <[email protected]> Date: Fri Nov 23 20:19:28 2012 +0100 scroll to the top of the BSA after submit or error. diff --git a/bug/bug/bug.js b/bug/bug/bug.js index 5bcad72..55312ed 100644 --- a/bug/bug/bug.js +++ b/bug/bug/bug.js @@ -52,7 +52,7 @@ } } $.bug.error_set(message); - window.scrollTo(0,0); + $.bug.window.scrollTo(0,225); throw error; }); }, @@ -288,7 +288,7 @@ var bug = $('.state_submit .bug').text(); $('.bug', element).attr('href', $.bug.url + '/show_bug.cgi?id=' + bug); element.show(); - window.scrollTo(0,0); + $.bug.window.scrollTo(0,225); }, // if this string is found in the page returned when commit 925c0e72041cf4819c76530cd97206f4be9c0f43 Author: Rob Snelders <[email protected]> Date: Fri Nov 23 20:15:08 2012 +0100 hide the horizontal scrollbar diff --git a/bug/bug/bug.css b/bug/bug/bug.css index a6279c2..8b27146 100644 --- a/bug/bug/bug.css +++ b/bug/bug/bug.css @@ -35,6 +35,7 @@ body { color: #616161; height: 1024px; font-family: helvetica, arial; + overflow-x: hidden; } .input-label { @@ -447,6 +448,7 @@ body { .state_duplicates .related_bugs { padding-top: 10px; + width: 560px; } .state_duplicates a { commit a877a0b07559ae97f431dcbc1f348317f20b4fe0 Author: Rob Snelders <[email protected]> Date: Fri Nov 23 19:29:01 2012 +0100 don't display who wrote it as multiple people work on it diff --git a/bug/bug.xhtml b/bug/bug.xhtml index 3fef2ef..1d30563 100644 --- a/bug/bug.xhtml +++ b/bug/bug.xhtml @@ -74,7 +74,7 @@ All your contributions will be public in WWW! By clicking the 'Submit' button you irrevocably agree to release your contribution under the CC-BY-SA 3.0 License and the GFDL. If you can't agree to these terms for documents you planned to attach you can state in this report that such a document exists. QA team will discuss with you further proceeding in the bug. </div> <div class="copyright"> - <a target="_blank" href="http://wiki.documentfoundation.org/Bug_Submission_Assistant">Bug Submission Assistant</a> is copyright (C) 2011 Loic Dachary published under <a target="_blank" href="http://www.gnu.org/licenses/gpl.txt">GNU GPLv3+</a>. Download the sources with git clone <a target="_blank" href="http://cgit.freedesktop.org/libreoffice/website">http://cgit.freedesktop.org/libreoffice/website</a>. + <a target="_blank" href="http://wiki.documentfoundation.org/Bug_Submission_Assistant">Bug Submission Assistant</a> is published under <a target="_blank" href="http://www.gnu.org/licenses/gpl.txt">GNU GPLv3+</a>. Download the sources with git clone <a target="_blank" href="http://cgit.freedesktop.org/libreoffice/website">http://cgit.freedesktop.org/libreoffice/website</a>. </div> </div> <div class="right"> commit cd93f4d47d947f72c343ca72dba330bd3d1c912f Author: Rob Snelders <[email protected]> Date: Fri Nov 23 19:26:24 2012 +0100 don't display the loginname after the login. diff --git a/bug/bug/bug.css b/bug/bug/bug.css index 4b9736e..a6279c2 100644 --- a/bug/bug/bug.css +++ b/bug/bug/bug.css @@ -622,5 +622,5 @@ body { } .username { - display: hidden; + visibility: hidden; } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
