1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 17:31:14 +00:00

76 Commits

Author SHA1 Message Date
Marius Balteanu
6951e569c4 Improve SVG icon compatibility with RTL languages by adding the @rtl@ parameter to @sprite_icon@ method. When it is @true@, it adds the 'icon-rtl' class to SVG icons, flipping their direction if an RTL language is used (#42465).
git-svn-id: https://svn.redmine.org/redmine/trunk@23654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 20:30:19 +00:00
Marius Balteanu
6328fba8c2 The collapse arrow for assignee and owner sections in @/workflows/edit@ now correctly reflects the open/closed state when rules are configured (#41947).
git-svn-id: https://svn.redmine.org/redmine/trunk@23567 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-26 21:55:33 +00:00
Go MAEDA
11b949c574 Replace legacy PNG icons with SVG icons for multiselect toggles (#42130).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-28 05:32:21 +00:00
Marius Balteanu
d1008280d8 Renames and improves methods provided by @IconsHelper@ (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-19 10:06:26 +00:00
Marius Balteanu
e8879d891f Refactors toggle checkboxes link and switch to SVG icon (#23980).
Patch by Mizuki ISHIKAWA (user:ishikawa999)
 


git-svn-id: https://svn.redmine.org/redmine/trunk@23047 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-09 15:50:37 +00:00
Marius Balteanu
166540d743 Replaces icon-expanded and icon-collapsed with SVG icons (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-08 17:25:02 +00:00
Marius Balteanu
a6462c0bcd Replaces not-ok icon from workflows without any transitions with 0 highlighted with red (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-08 17:24:00 +00:00
Marius Balteanu
ffce07e785 Start working on replacing old icons with SVG icons (#23980):
* Introduces IconsHelper with methods to render SVG icon from a sprite file.
* Adds SVG sprite file with icons mainly from Font Awesome, but also from Material Design Icons and Fluent UI System Icons (based on the work made by Takashi Kato (@tohosaku)).
* Replaces specific icons with new SVG icons.
* Temporarily keep all old CSS icon definitions for backard compatibility.



git-svn-id: https://svn.redmine.org/redmine/trunk@22988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-29 21:46:40 +00:00
Go MAEDA
ca64a92f1a Add spaces around the slash for consistency and better readability (#40166).
git-svn-id: https://svn.redmine.org/redmine/trunk@22676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-03 08:59:26 +00:00
Marius Balteanu
1245708ba7 Fix typo in class 'icon-expended' (#36149).
Patch by Bernhard Rohloff.

git-svn-id: http://svn.redmine.org/redmine/trunk@21275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-08 20:14:49 +00:00
Go MAEDA
f2b17f7794 Clean-up workflows controller (#33337).
Patch by Vincent Robert and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20941 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-13 09:01:44 +00:00
Go MAEDA
684f883137 Disable jQuery UI tooltip on workflow page to improve loading speed (#35034).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20919 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-06 06:07:23 +00:00
Go MAEDA
4d3dec2dc0 Web browser freezes when displaying a workflow page with a large number of issue statuses (#34247).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-01-17 02:23:14 +00:00
Go MAEDA
bcb81e0d2c Show tooltip when hovering on repeat-value link in Field permission tab (#32341).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-13 14:18:55 +00:00
Go MAEDA
fb7d3bf7ce Clean up toggleMultiSelect js function (#32813).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-22 05:25:39 +00:00
Go MAEDA
78d3d6c223 Speed up workflow edit page rendering (#31855).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@18373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-17 02:23:51 +00:00
Go MAEDA
dd2af7fc22 Fix missing closing tags in workflows/permissions.html.erb (#31510).
Contributed by Enziin System.


git-svn-id: http://svn.redmine.org/redmine/trunk@18323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-29 07:22:32 +00:00
Go MAEDA
80a52e17d0 Some fixes for r18214 (#31496):
* incorrect icon-toggle-plus and icon-toggle-minus background rules
* broken CSS rule in .toggle-multiselect and removes some unnecessary rules
* some cases where clicking on toggle-multiselect element adds the icon class to "a" element instead of "span"
* icon switch in workflow permissions tab

Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-03 23:26:35 +00:00
Go MAEDA
bbb755e95d Switch between toggle plus and minus icons for toggle multi select (#31496).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-02 08:48:00 +00:00
Go MAEDA
53e2cf16bb Use "icon icon-*" classes for expandable elements (#31433).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-30 07:35:46 +00:00
Go MAEDA
5a9485489f Fix missing icons (#31433).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18208 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-30 07:34:13 +00:00
Jean-Philippe Lang
04e94bd3dd Disable workflow checkboxes with no status change (#5593).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17487 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-15 07:09:14 +00:00
Go MAEDA
980ea2160d Fix: "Uncheck all" is not working in workflow status transitions page (#27586).
Contributed by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-25 11:16:13 +00:00
Jean-Philippe Lang
9814dcf231 Use css pseudo-classes instead of cycle("odd", "even") (#15361).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-25 11:44:12 +00:00
Jean-Philippe Lang
aa030bf39a Adds a tooltip to cells on workflow page (#12598).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-08 22:38:02 +00:00
Jean-Philippe Lang
49fcec80b7 Reverts r16051 and r16050 for now (#15361).
git-svn-id: http://svn.redmine.org/redmine/trunk@16052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-03 09:59:03 +00:00
Jean-Philippe Lang
48f72a3d15 Use css pseudo-classes instead "odd", "even" classes (#15361).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-03 09:15:31 +00:00
Jean-Philippe Lang
05d1df45da Highlighting of required and read-only custom fields broken in Workflow editor (#22305).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@15293 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-03 11:58:23 +00:00
Jean-Philippe Lang
7467c145c0 Replace uses of image_tag() with CSS (#21256).
* Replace image_tag() with CSS classes
* Create some CSS classes where necessary
* Change "check all" positioned on the right in "Trackers -> Summary" and
  "Roles -> Permissions report" instead of left like in "Worfklow"
* Add missing title attribute in a few places
* Makes some lines shorter while at it

Patch by Daniel Ritz.

git-svn-id: http://svn.redmine.org/redmine/trunk@15068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-20 08:50:39 +00:00
Jean-Philippe Lang
2bc5b60f9d Makes new issue initial status settable in workflow (#5816).
git-svn-id: http://svn.redmine.org/redmine/trunk@14458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-26 08:30:19 +00:00
Jean-Philippe Lang
b474ad67de "Required" and "Read-only" rules on "Fields Permissions" screen are not colored (#19580).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14160 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-11 07:54:20 +00:00
Jean-Philippe Lang
b778c51e90 Removed unneeded #h calls in views.
git-svn-id: http://svn.redmine.org/redmine/trunk@14043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-23 10:11:08 +00:00
Jean-Philippe Lang
f731545c61 Use a simple count query.
git-svn-id: http://svn.redmine.org/redmine/trunk@13750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-13 16:55:28 +00:00
Jean-Philippe Lang
c886ffe200 Don't show roles without issue add/edit permission in workflow setup (#15988).
git-svn-id: http://svn.redmine.org/redmine/trunk@13748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-13 14:47:16 +00:00
Jean-Philippe Lang
1e0045e69b Removed duplicate element ids.
git-svn-id: http://svn.redmine.org/redmine/trunk@13644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-23 13:45:24 +00:00
Jean-Philippe Lang
b6c794d16b Bulk edit workflows for multiple trackers/roles (#16164).
git-svn-id: http://svn.redmine.org/redmine/trunk@12924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-25 02:54:47 +00:00
Jean-Philippe Lang
967564cba0 Removed deprecated align and width html attributes (#15307).
git-svn-id: http://svn.redmine.org/redmine/trunk@12268 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-11-11 21:01:21 +00:00
Jean-Philippe Lang
f3241385cd Adds missing html titles (#14517).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-07-28 11:50:18 +00:00
Jean-Philippe Lang
628d05629b Role-based issue custom field visibility (#5037).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-07-13 09:20:11 +00:00
Jean-Philippe Lang
f5768cc99b Useless "edit" link in workflow menu (#12824).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-07-11 19:12:08 +00:00
Jean-Philippe Lang
69496179d4 Adds a button to duplicate a workflow permission to the next statuses.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11904 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-28 10:59:04 +00:00
Jean-Philippe Lang
6a2ca5e034 JQuery in, Prototype/Scriptaculous out (#11445).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-22 13:29:26 +00:00
Jean-Philippe Lang
7f1fb7ce81 Don't show "Required" option for standard/custom fields that are always required.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-16 16:33:27 +00:00
Jean-Philippe Lang
072475b8a5 Remember "Only display used statuses" checkbox value after update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 15:50:57 +00:00
Jean-Philippe Lang
071cf55fc8 Hard-coded strings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 15:46:53 +00:00
Jean-Philippe Lang
a7bdc5e0af Adds option for displaying all statuses on workflow permissions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 15:46:14 +00:00
Jean-Philippe Lang
cb09055d60 Colorize transitions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 15:25:26 +00:00
Jean-Philippe Lang
b636695631 Removed hard-coded strings (#703, #3521).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 14:19:01 +00:00
Jean-Philippe Lang
d7b669e50b Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 14:12:17 +00:00
Jean-Philippe Lang
426b1d6fcd Fixed that option tags are escaped.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-13 09:00:26 +00:00