Toshi MARUYAMA
d9d523416d
remove trailing white-spaces from app/views/layouts/base.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 12:06:46 +00:00
Toshi MARUYAMA
f9fb1988f5
replace tabs to spaces at app/views/layouts/admin.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7334 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 11:14:18 +00:00
Toshi MARUYAMA
ef65f26c32
replace tabs to spaces at app/views/layouts/base.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 11:13:48 +00:00
Toshi MARUYAMA
94f7b0ea16
rename .rhtml to .html.erb of app/views/layouts/base.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@6713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 02:31:40 +00:00
Toshi MARUYAMA
3a47aedfd2
rename .rhtml to .html.erb of app/views/layouts/admin.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@6704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 00:03:54 +00:00
Toshi MARUYAMA
6ede477506
remove trailing white-spaces from app/views/layouts/base.rhtml.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-22 13:32:06 +00:00
Jean-Philippe Lang
bf58ad61e5
Load scripts and css for wiki formatter toolbar when needed.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5239 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 19:59:35 +00:00
Jean-Philippe Lang
36dbb3906b
Send the CSRF token with Ajax requests ( #7843 ).
...
Contributed by Etienne Massip.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5134 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 21:31:02 +00:00
Jean-Philippe Lang
e41b76b459
Fixed: Login page should not show projects link and search box if authentication is required ( #3715 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5007 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 15:14:24 +00:00
Jean-Philippe Lang
e1eafe3b25
Escapes body css classes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-28 16:44:02 +00:00
Jean-Philippe Lang
17591a3ea5
Warning on leaving a page with unsaved content in textarea ( #2910 ).
...
The warning can be turned off in the user's preference.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-21 09:53:29 +00:00
Jean-Philippe Lang
fd3c85dc0d
Load csshover.htc for IE6 only as later versions support hover on non-link elements.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-16 16:36:58 +00:00
Jean-Philippe Lang
a4c5787b53
Updated footer to 2011.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-02 12:16:06 +00:00
Jean-Philippe Lang
523febf9c1
Support for Javascript in Themes ( #2803 ).
...
If javascripts/theme.js is found in the theme directory, it will be automatically loaded on each page.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-22 21:37:07 +00:00
Eric Davis
7e359d3d7e
Add a Email Header setting. Useful for adding delimiters to every email.
...
#2852 #6628
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-02 19:00:36 +00:00
Azamat Hackimov
57372d9d8e
Real RTL-theme support in locales ( #6012 )
...
Now each locale-file have direction string (ltr - left-to-right - by default).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4005 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-19 16:57:44 +00:00
Eric Davis
a544a1e57c
Added css classes to the HTML body based on the theme, controller, and action. #819
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-04 01:17:45 +00:00
Eric Davis
5f20bc240e
Add a favicon link with support for suburi. #3301
...
Contributed by Yuki Kita and Christian Boenning
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3894 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-07-29 14:58:33 +00:00
Eric Davis
7514e12d33
Hide the main menu div if there isn't any items for it. #3259
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-04 06:01:05 +00:00
Jean-Philippe Lang
d16c2d4cd3
Adds a few divs to the base layout ( #871 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-14 13:07:51 +00:00
Jean-Philippe Lang
23508f4f98
Copyright updated ( #4542 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3299 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-01-09 15:01:39 +00:00
Jean-Philippe Lang
dfabadf4f7
Adds an admin layout that displays the admin menu in the sidebar.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-17 18:21:02 +00:00
Jean-Philippe Lang
0b34755eb0
Moved charset meta tag before title ( #4320 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-13 14:55:17 +00:00
Jean-Philippe Lang
07aa3c55bd
Contextual quick search ( #3263 ).
...
Eg. when viewing issues, the quick search will search issues only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2943 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-21 17:07:18 +00:00
Eric Davis
7b0cb6aba8
Upgraded to Rails 2.3.4 ( #3597 )
...
* Ran the Rails upgrade
* Upgraded to Rails Engines 2.3.2
* Added a plugin to let Engines override application views.
* Converted tests to use the new classes:
** ActionController::TestCase for functional
** ActiveSupport::TestCase for units
* Converted ActiveRecord::Error message to a string.
* ActiveRecord grouping returns an ordered hash which doesn't have #sort!
* Updated the I18n storage_units format.
* Added some default initializers from a fresh rails app
* Changed the order of check_box_tags and hidden_field_tags. The hidden tag
needs to appear first in Rails 2.3, otherwise it will override any value in
the check_box_tag.
* Removed the custom handler for when the cookie store is tampered with.
Rails 2.3 removed the TamperedWithCookie exception and instead Rails will not
load the data from it when it's been tampered with (e.g. no user login).
* Fixed mail layouts, 2.3 has problems with implicit multipart emails that
use layouts. Also removed some custom Redmine mailer code.
* Fixed a bug that occurred in tests where the "required" span tag would be
added to the :field_status translation. This resulted in an email string of:
<li>Status<span class="required"> *</span><span class="required"> *</span>
Instead of:
<li>Status: New</li>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-13 17:14:35 +00:00
Jean-Philippe Lang
f1b5127cbb
Fixes content vertical overflow ( #3053 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-28 12:13:58 +00:00
Jean-Philippe Lang
33e7ae96ad
Adds (a maximum of 3) links to project ancestors in the page title ( #2788 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2485 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-20 18:34:57 +00:00
Eric Davis
a3fa56d988
Added two new plugin hooks:
...
* :view_layouts_base_sidebar
* :view_layouts_base_content
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-10 01:24:32 +00:00
Jean-Philippe Lang
bbe8326477
Updates footer year.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2341 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-31 12:42:02 +00:00
Jean-Philippe Lang
c9906480d3
Merged nested projects branch. Removes limit on subproject nesting ( #594 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-24 11:31:15 +00:00
Jean-Philippe Lang
d1a1e25bb8
Project jump box fix.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-17 08:08:33 +00:00
Jean-Philippe Lang
d25b6d4686
Moves flash messages rendering to a helper method.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-03 14:11:44 +00:00
Jean-Philippe Lang
2355324d73
Jump to the current tab when using the project quick-jump combo ( #2364 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-30 14:24:51 +00:00
Jean-Philippe Lang
0ea3d150e1
Makes logged-in username in topbar linking to ( #2291 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2109 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-07 13:12:19 +00:00
Jean-Philippe Lang
a3b9a5aa5f
Makes wiki text formatter pluggable.
...
Original patch #2025 by Yuki Sonoda slightly edited.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1955 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-10-27 11:08:29 +00:00
Eric Davis
f2f54a711d
Adds :view_layouts_base_body_bottom hook
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-30 05:18:50 +00:00
Eric Davis
de7d367820
Reverting commit r1748 again. r1786 pulled in in again
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1795 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-10 00:14:38 +00:00
Jean-Philippe Lang
f7acdd1afd
Merged hooks branch @ r1785 into trunk.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-05 10:31:06 +00:00
Eric Davis
8f3a04ce69
Reverting commit r1748. Some environments are not allowing the cached file to
...
write to public, causing all JavaScript to fail.
Javascripts are now cached into a single file for downloads in production mode.
#1186
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-28 16:32:14 +00:00
Eric Davis
a899904f63
Javascripts are now cached into a single file for downloads in production mode.
...
Thanks to Philippe Lafoucrière for the patch. (#1186 )
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-20 04:26:46 +00:00
Jean-Philippe Lang
d2ad4edc86
Fixed: page has no title when adding a project ( #1436 ).
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-14 11:15:57 +00:00
Jean-Philippe Lang
64fb0a561a
Removes the Redmine version from the footer ( closes #794 ). It can still be viewed on admin -> info.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-09 22:24:38 +00:00
Jean-Philippe Lang
c5d998528f
The following menus can now be extended by plugins: top_menu, account_menu, application_menu (empty by default).
...
Sligth layout change: links in the top menu are now li elements.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-12 17:58:46 +00:00
Jean-Philippe Lang
15ed53cf17
Footer update.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-11 18:08:36 +00:00
Jean-Philippe Lang
0faa4568a0
Highlight the current item of the main menu.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1076 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-19 11:53:43 +00:00
Jean-Philippe Lang
3d920c13b4
wrapper div added to the layout.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1044 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-06 17:28:20 +00:00
Jean-Philippe Lang
97f0da0b1a
Moved login and logout links to ApplicationHelper methods for easier customization.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-30 11:44:46 +00:00
Jean-Philippe Lang
bb8d360188
Set doctype to transitional. Fixed a few non matching tags in views.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-21 18:01:02 +00:00
Jean-Philippe Lang
92a23c05bb
Project name format limitation removed (name can now contain any character).
...
Project identifier maximum length changed from 12 to 20.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-03 10:28:08 +00:00
Jean-Philippe Lang
0634591b3d
Themes:
...
* Fixed: themes are not found when running Apache+fastcgi
* Added 'Classic' theme (inspired from the v0.51 design)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-11-22 18:03:02 +00:00