https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292015-01-07T11:15:36ZRedmineRedmine - Patch #18770: Make issue history collapsablehttps://www.redmine.org/issues/18770?journal_id=607062015-01-07T11:15:36ZOlivier Houdas
<ul><li><strong>File</strong> <a href="/attachments/12915">18770-current.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/12915/18770-current.png">18770-current.png</a> added</li><li><strong>File</strong> <a href="/attachments/12917">18770-new-collapsed.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/12917/18770-new-collapsed.png">18770-new-collapsed.png</a> added</li></ul><p>Note: Associated code repository revisions are displayed on their own line in the start of the history, with this change, instead of being a div aligned on the right, and at the same level as notes, as before. I had to add the notes into a table to be able to use the existing javascript, which creates this change of layout.</p> Redmine - Patch #18770: Make issue history collapsablehttps://www.redmine.org/issues/18770?journal_id=607122015-01-07T14:17:12ZOlivier Houdas
<ul><li><strong>File</strong> <a href="/attachments/12919">Collapsable-history-divs.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/12919/Collapsable-history-divs.patch">Collapsable-history-divs.patch</a> added</li></ul><p>After some more testing, I realized I broke the DOM model by interlacing DIV and TR tags.<br />Here is another patch, completely re-written. It uses the same principle as for issues list with tables, but applied to DIV tags with specific classes.<br />With this new code, there is no more layout issue for displaying the revision history from the code repository.</p> Redmine - Patch #18770: Make issue history collapsablehttps://www.redmine.org/issues/18770?journal_id=612412015-02-02T05:36:08ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-3 priority-lowest" href="/issues/15409">Feature #15409</a>: Is it possible to view History section in pages?</i> added</li></ul> Redmine - Patch #18770: Make issue history collapsablehttps://www.redmine.org/issues/18770?journal_id=653702015-08-11T15:21:56ZOlivier Houdas
<ul><li><strong>File</strong> <a href="/attachments/14095">Collapsable-divs-History-and-roadmap.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/14095/Collapsable-divs-History-and-roadmap.patch">Collapsable-divs-History-and-roadmap.patch</a> added</li></ul><p>I have updated my patch to use the same css and js changes to add collapsable versions in the roadmap.<br />The new patch is built for Redmine 3.1.0.<br />I checked the generated HTML pages with Tidy and fixed a unclosed DIV in the first version of the patch.</p> Redmine - Patch #18770: Make issue history collapsablehttps://www.redmine.org/issues/18770?journal_id=959302020-01-28T09:32:42ZAleksandar Pavic
<ul></ul><p>Can you update for Redmine 4</p>
<p>also, can you create normal patch, not hg one, because I'm getting:</p>
<pre>
patch -p0 --dry-run < Collapsable-divs-History-and-roadmap.patch
can't find file to patch at input line 13
</pre>
<p>which is how, it's supposed to be done:</p>
<p>[[<a class="external" href="https://www.redmine.org/projects/redmine/wiki/Patch">https://www.redmine.org/projects/redmine/wiki/Patch</a>]]</p>
<p>and if I do:</p>
<pre>
patch -p1 --dry-run < Collapsable-divs-History-and-roadmap.patch
checking file app/views/issues/_history.html.erb
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED
checking file app/views/issues/show.html.erb
Hunk #1 FAILED at 75.
1 out of 1 hunk FAILED
checking file app/views/versions/index.html.erb
Hunk #1 FAILED at 9.
Hunk #2 FAILED at 83.
2 out of 2 hunks FAILED
checking file public/javascripts/application.js
Hunk #1 succeeded at 69 (offset 7 lines).
checking file public/stylesheets/application.css
Hunk #1 succeeded at 284 (offset 101 lines).
Hunk #2 FAILED at 233.
1 out of 2 hunks FAILED
</pre>
<p>It fails on Redmine 4...</p>