summaryrefslogtreecommitdiffstats
path: root/app/views/documents
Commit message (Collapse)AuthorAgeFilesLines
* Renames and improves methods provided by @IconsHelper@ (#23980).Marius Balteanu2024-10-192-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23145 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Start working on replacing old icons with SVG icons (#23980):Marius Balteanu2024-08-292-2/+2
| | | | | | | | | | | * 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
* Fix file drop feature not working in @documents#new@ (#36686).Marius Balteanu2022-03-191-6/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21466 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reindent code in documents/_form view (#36686).Marius Balteanu2022-03-191-13/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21465 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Structured Document list for more flexible UI design with CSS (#17924).Go MAEDA2022-02-082-6/+12
| | | | | | | Patch by Yonghwan SO and Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21403 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Store inline autocomplete data sources in a JS variable (#34122).Go MAEDA2020-10-251-2/+1
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20191 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Inline auto complete for issue (#) in wiki-edit fields (#31989).Go MAEDA2019-09-091-1/+6
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18444 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show recent documents first (#29725).Jean-Philippe Lang2019-03-151-1/+1
| | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17972 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use multipart forms for objects that may have file custom fields (#6719).Jean-Philippe Lang2016-12-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16068 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show thumbnails on documents (#22941).Jean-Philippe Lang2016-07-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15605 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed unneeded #h calls in views.Jean-Philippe Lang2015-02-232-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14043 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds custom fields to documents (#7249).Jean-Philippe Lang2015-02-142-0/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14004 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use li tags for issue links in documents index (#13242)Toshi MARUYAMA2013-05-031-4/+10
| | | | | | Contributed by Filou Centrinov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11777 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: "obj" parameter is not defined for macros used in description of ↵Jean-Philippe Lang2013-05-011-1/+1
| | | | | | documents (#13821). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11761 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace tabs to spaces at app/views/documents/index.html.erbToshi MARUYAMA2013-03-151-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11629 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Split "Manage documents" permission into create, edit and delete permissions ↵Jean-Philippe Lang2013-01-202-2/+4
| | | | | | (#12401). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11206 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved syntax highlight styles to application.css.Jean-Philippe Lang2012-07-281-4/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10094 e93f8b46-1217-0410-a6f0-8f06a7374b81
* JQuery in, Prototype/Scriptaculous out (#11445).Jean-Philippe Lang2012-07-222-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10068 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deprecated :confirm => 'Text' option.Jean-Philippe Lang2012-07-071-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9937 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-3.2 branch.Jean-Philippe Lang2012-04-254-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a helper for displaying validation error messages.Jean-Philippe Lang2012-02-261-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9017 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preserve uploaded files when on documents.Jean-Philippe Lang2012-02-231-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8944 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changes the style of the links for sorting documents.Jean-Philippe Lang2012-01-161-7/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8664 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Resourcified documents.Jean-Philippe Lang2011-11-306-38/+30
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8010 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use document project when formatting text on documents index (#9448).Jean-Philippe Lang2011-11-241-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7919 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unecessary page title HTML escaping from views (#9252).Etienne Massip2011-10-021-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7565 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace tabs to spaces at app/views/documents/_document.html.erbToshi MARUYAMA2011-09-181-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7378 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/views/documents/show.html.erbToshi MARUYAMA2011-09-161-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7262 e93f8b46-1217-0410-a6f0-8f06a7374b81
* rename .rhtml to .html.erb of app/views/documents/index.rhtml.Toshi MARUYAMA2011-08-271-0/+0
| | | | | | :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@6661 e93f8b46-1217-0410-a6f0-8f06a7374b81
* rename .rhtml to .html.erb of app/views/documents/_document.rhtml.Toshi MARUYAMA2011-08-271-0/+0
| | | | | | :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@6660 e93f8b46-1217-0410-a6f0-8f06a7374b81
* rename .rhtml to .html.erb of app/views/documents/_form.rhtml.Toshi MARUYAMA2011-08-271-0/+0
| | | | | | :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@6659 e93f8b46-1217-0410-a6f0-8f06a7374b81
* rename .rhtml to .html.erb of app/views/documents/show.rhtml.Toshi MARUYAMA2011-08-271-0/+0
| | | | | | :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@6658 e93f8b46-1217-0410-a6f0-8f06a7374b81
* rename .rhtml to .html.erb of app/views/documents/edit.rhtml.Toshi MARUYAMA2011-08-271-0/+0
| | | | | | :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@6657 e93f8b46-1217-0410-a6f0-8f06a7374b81
* rename .rhtml to .html.erb of app/views/documents/new.rhtml.Toshi MARUYAMA2011-08-271-0/+0
| | | | | | :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@6656 e93f8b46-1217-0410-a6f0-8f06a7374b81
* HTML escape at app/views/documents/show.rhtml.Toshi MARUYAMA2011-08-021-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6367 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not show inactive document categories where not necessary (#8573).Jean-Baptiste Barth2011-06-131-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6071 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: code syntax highlighting not working in Document page (#3740).Jean-Philippe Lang2010-03-181-0/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3603 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds text formatting to documents index (#202).Jean-Philippe Lang2010-03-181-3/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3602 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show last update datetime (last attachment added) on document list (#4232).Jean-Philippe Lang2009-11-261-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3095 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changed Enumerations to use a Single Table InheritanceEric Davis2009-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * Added migrations to change Enumerations to an STI relationship * Added TimeEntryActivity model (STI) * Added DocumentCategory model (STI) * Added IssuePriority model (STI) * Added Enumeration#get_subclasses to get a list of the subclasses of Enumeration * Changed Enumeration to use the STI type field instead of the opt field * Changed Enumeration#opt to return the old opt values but with a deprecation warning. * Removed Enumeration::OPTIONS * Removed the dynamic named_scopes in favor of specific named_scopes. Kept for compatibility reasons. * Added Enumeration#default so each subclass can easily find it's default record. * Fixed Enumeration#default to use the STI scoping with a fake default scope for finding Enumeration's default. * Added a 'all' named scope for getting all records in order by position. * Added Deprecation warnings to the old named_scopes in Enumerations. * Moved various methods off of Enumeration and onto the concrete classes * Changed the EnumerationsController to use types * Updated the Enumeration list template * Added has_many relationships to the Enumeration STI classes. * Fixes for tests. #3007 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2777 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2.Jean-Philippe Lang2009-02-211-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2493 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces Enumeration.get_values and Enumeration.default with named scopes.Jean-Philippe Lang2009-02-151-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2472 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Automatically focus several form fields.Jean-Philippe Lang2009-01-221-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2295 e93f8b46-1217-0410-a6f0-8f06a7374b81
* AttachmentsController now handles attachments deletion.Jean-Philippe Lang2008-12-091-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2116 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an optional description to attachments.Jean-Philippe Lang2008-02-293-21/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1180 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: table of content not rendered properly when used in an issue or ↵Jean-Philippe Lang2008-01-041-0/+2
| | | | | | document description. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1035 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Slight improvements to the browser views.Jean-Philippe Lang2008-01-022-2/+2
| | | | | | ApplicationHelper#set_html_title replaced by html_title with arguments and can be called several times in views to append elements to the title. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1032 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved ProjectsController#list_documents and add_document to ↵Jean-Philippe Lang2007-12-182-0/+52
| | | | | | DocumentsController#index and new. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* More detailed html title on several views.Jean-Philippe Lang2007-12-071-2/+4
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@964 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New document form can be accessed from the document list with no additional ↵Jean-Philippe Lang2007-10-181-3/+1
| | | | | | request. git-svn-id: http://redmine.rubyforge.org/svn/trunk@851 e93f8b46-1217-0410-a6f0-8f06a7374b81