Indefero

Indefero Commit Details


Date:2009-05-26 04:48:02 (15 years 6 months ago)
Author:Mehdi Kabab
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:3476541bf48ac302b94285be8a7122ae3a276350
Parents: 2c9cf96245743d7df7d812fbc6063309cb891d95
Message:Fixed issue 221, scroll to the preview if exists.

Changes:

File differences

src/IDF/templates/idf/base-full.html
7373
7474
7575
76
77
78
76
77
78
7979
80
80
81
82
83
8184
8285
8386
84
87
8588
8689
8790
{include 'idf/js-hotkeys.html'}
{block javascript}{/block}
{if $project}
<script type="text/javascript">{literal}
<!-- //
$(document).ready(function(){
<script type="text/javascript" charset="utf-8">{literal}
//<![CDATA[
$(document).ready(function(){
var frag = location.hash;
if (frag.length > 3 && frag.substring(0, 3) == '#ic') {
if ($('#preview').length) {
location.hash = '#preview';
}
else if (frag.length > 3 && frag.substring(0, 3) == '#ic') {
$(frag).addClass("issue-comment-focus");
}
});
// -->{/literal}
//]]>{/literal}
</script>{/if}
</body>
</html>
src/IDF/templates/idf/base.html
7575
7676
7777
78
79
80
78
79
80
8181
82
82
83
84
85
8386
8487
8588
86
89
8790
8891
89
92
{include 'idf/js-hotkeys.html'}
{block javascript}{/block}
{if $project}
<script type="text/javascript">{literal}
<!-- //
$(document).ready(function(){
<script type="text/javascript" charset="utf-8">{literal}
//<![CDATA[
$(document).ready(function(){
var frag = location.hash;
if (frag.length > 3 && frag.substring(0, 3) == '#ic') {
if ($('#preview').length) {
location.hash = '#preview';
}
else if (frag.length > 3 && frag.substring(0, 3) == '#ic') {
$(frag).addClass("issue-comment-focus");
}
});
// -->{/literal}
//]]>{/literal}
</script>{/if}
</body>
</html>
</html>
src/IDF/templates/idf/issues/create.html
1111
1212
1313
14
14
1515
1616
1717
1818
1919
2020
21
21
2222
2323
2424
{/if}
{if $preview}
<h2 class="top">{trans 'Preview'}</h2>
<h2 id="preview" class="top">{trans 'Preview'}</h2>
<div class="issue-comment issue-comment-first issue-comment-last">
<br /><pre class="issue-comment-text">{issuetext $preview, $request}</pre>
</div>
<hr />
{/if}
<form method="post" enctype="multipart/form-data" action="{url 'IDF_Views_Issue::create', array($project.shortname)}" >
<form method="post" enctype="multipart/form-data" action="{url 'IDF_Views_Issue::create', array($project.shortname)}#preview" >
<table class="form" summary="">
<tr>
<th><strong>{$form.f.summary.labelTag}:</strong></th>
src/IDF/templates/idf/issues/view.html
5353
5454
5555
56
56
5757
5858
5959
{/if}
{if $preview}
<h2>{trans 'Preview'}</h2>
<h2 id="preview">{trans 'Preview'}</h2>
<div class="issue-comment issue-comment-first issue-comment-last">
<br /><pre class="issue-comment-text">{issuetext $preview, $request}</pre>
</div>
src/IDF/templates/idf/wiki/create.html
33
44
55
6
6
77
88
99
{block body}
{if $preview}
<h2 class="top">{trans 'Preview of the Page'}</h2>
<h2 id="preview" class="top">{trans 'Preview of the Page'}</h2>
{markdown $preview, $request}
{/if}
src/IDF/templates/idf/wiki/update.html
33
44
55
6
6
77
88
99
{block body}
{if $preview}
<h2 class="top">{trans 'Preview of the Page'}</h2>
<h2 id="preview" class="top">{trans 'Preview of the Page'}</h2>
{markdown $preview, $request}
{/if}

Archive Download the corresponding diff file

Page rendered in 0.09226s using 14 queries.