1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-08 00:21:31 +00:00

34 Commits

Author SHA1 Message Date
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
6d01d427e8 Switches all icons to Material Symbols (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-24 20:41:41 +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
795ebcc17c Use field_activity rather than label_activity in the context of time tracking (#33186).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-26 05:58:47 +00:00
Go MAEDA
a4ffda7b37 Use button as additional option for contextmenu (#26655).
Patch by Felix Gliesche.


git-svn-id: http://svn.redmine.org/redmine/trunk@17298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-21 12:00:22 +00:00
Go MAEDA
fec2832fe3 Reverted r17252 and r17253 (#26655).
The change breaks the test suite. 


git-svn-id: http://svn.redmine.org/redmine/trunk@17254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-02 02:24:35 +00:00
Go MAEDA
a17661e8d8 Use button as additional option for contextmenu (#26655).
Patch by Felix Gliesche.


git-svn-id: http://svn.redmine.org/redmine/trunk@17252 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-02 01:42:01 +00:00
Go MAEDA
14e0a6bdba Use reverse_each instead of reverse.each (#27671).
Patch by Timur Tarasenko.


git-svn-id: http://svn.redmine.org/redmine/trunk@17137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-31 01:34:39 +00:00
Jean-Philippe Lang
e7400dfbba Fix tests (#1565).
git-svn-id: http://svn.redmine.org/redmine/trunk@16415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-16 20:16:51 +00:00
Jean-Philippe Lang
23131d14f5 Use helper methods for rendering blocks.
git-svn-id: http://svn.redmine.org/redmine/trunk@16414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-16 18:26:43 +00:00
Jean-Philippe Lang
cb35ff95c5 Move the "Log time" link on My page.
git-svn-id: http://svn.redmine.org/redmine/trunk@16407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-15 18:01:19 +00:00
Jean-Philippe Lang
6bc537f6f9 Adds titles on icon links.
git-svn-id: http://svn.redmine.org/redmine/trunk@16403 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-14 18:25:23 +00:00
Jean-Philippe Lang
1946c71b3b Use explicit url.
git-svn-id: http://svn.redmine.org/redmine/trunk@16392 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-13 19:55:29 +00:00
Jean-Philippe Lang
36cfb2cc8b Adds odd_even class to time entries (#15361).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-26 18:07:23 +00:00
Jean-Philippe Lang
da22fb0d41 Test failure (#23996).
git-svn-id: http://svn.redmine.org/redmine/trunk@15969 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-18 13:51:19 +00:00
Jean-Philippe Lang
5495e6f342 Introduce a setting to change the display format of timespans to h:mm (#23996).
Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@15965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-18 12:42:20 +00:00
Jean-Philippe Lang
db5bd2b2de My page - Spent time: configurable number of days to display (#8761).
git-svn-id: http://svn.redmine.org/redmine/trunk@15942 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-30 08:32:31 +00:00
Jean-Philippe Lang
44130caa59 Removes hard-coded border.
git-svn-id: http://svn.redmine.org/redmine/trunk@15938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-29 14:10:20 +00:00
Jean-Philippe Lang
7a6f04c25f Enables context menu on My Page for time entries.
git-svn-id: http://svn.redmine.org/redmine/trunk@15937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-29 14:07:10 +00:00
Jean-Philippe Lang
420ebc0d1f Display hours in block title.
git-svn-id: http://svn.redmine.org/redmine/trunk@15934 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-29 11:59:52 +00:00
Jean-Philippe Lang
ed50d42210 Replace Date.today with User.current.today (#22320).
Depending on the offset between a user's configured timezone and the server
timezone, Date.today may be more or less often wrong from the user's
perspective, leading to things like issues marked as overdue too early or too
late, or yesterday / tomorrow being displayed / selected where 'today' is
intended.

A test case illustrating the problem with Issue#overdue? is included

Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@15379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:42:22 +00:00
Jean-Philippe Lang
eaea4e9fee Improve accessibility for icon-only links by adding hidden text (#21805).
Patch by Daniel Ritz.

git-svn-id: http://svn.redmine.org/redmine/trunk@15271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-20 09:34:26 +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
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
efdf2584b6 Adds a link to /time_entries/new from My Page Spent Time block (#17955).
git-svn-id: http://svn.redmine.org/redmine/trunk@13423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-04 07:26:48 +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
6b03c741ac Adds a link on "My Page" to view all my spent time (#13157).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-18 07:39:26 +00:00
Jean-Philippe Lang
06a92fe0d0 Adds label_total_time string (#13337).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-10 13:01:46 +00:00
Jean-Philippe Lang
9230628953 Adds helpers for retrieving my page data.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 21:08:03 +00:00
Jean-Philippe Lang
7b40767428 Deprecated :confirm => 'Text' option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 14:36:49 +00:00
Jean-Philippe Lang
73500a349b Fixed that the issue link is escaped on my page spent time (#10991).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-25 16:34:40 +00:00
Toshi MARUYAMA
aff6fe1f7a replace tabs to spaces at app/views/my/blocks/_timelog.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 10:01:37 +00:00
Toshi MARUYAMA
0fd903a251 remove trailing white-spaces from app/views/my/blocks/_timelog.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7220 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-14 08:39:49 +00:00
Toshi MARUYAMA
e673c5d13c rename .rhtml to .html.erb of app/views/my/blocks/_timelog.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 10:45:51 +00:00