Patch #1473 » boards_code_syntax_highlighting.patch
app/views/boards/edit.rhtml (working copy) | ||
---|---|---|
4 | 4 |
<%= render :partial => 'form', :locals => {:f => f} %> |
5 | 5 |
<%= submit_tag l(:button_save) %> |
6 | 6 |
<% end %> |
7 | ||
8 |
<div id="preview" class="wiki"> |
|
9 |
<% content_for :header_tags do %> |
|
10 |
<%= stylesheet_link_tag 'scm' %> |
|
11 |
<% end %> |
|
12 |
</div> |
app/views/boards/index.rhtml (working copy) | ||
---|---|---|
37 | 37 | |
38 | 38 |
<% content_for :header_tags do %> |
39 | 39 |
<%= auto_discovery_link_tag(:atom, {:controller => 'projects', :action => 'activity', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key}) %> |
40 |
<%= stylesheet_link_tag 'scm' %> |
|
40 | 41 |
<% end %> |
app/views/boards/new.rhtml (working copy) | ||
---|---|---|
4 | 4 |
<%= render :partial => 'form', :locals => {:f => f} %> |
5 | 5 |
<%= submit_tag l(:button_create) %> |
6 | 6 |
<% end %> |
7 | ||
8 |
<div id="preview" class="wiki"> |
|
9 |
<% content_for :header_tags do %> |
|
10 |
<%= stylesheet_link_tag 'scm' %> |
|
11 |
<% end %> |
|
12 |
</div> |
app/views/boards/show.rhtml (working copy) | ||
---|---|---|
22 | 22 |
}, :accesskey => accesskey(:preview) %> | |
23 | 23 |
<%= link_to l(:button_cancel), "#", :onclick => 'Element.hide("add-message")' %></p> |
24 | 24 |
<% end %> |
25 |
<div id="preview" class="wiki"></div> |
|
25 |
<div id="preview" class="wiki"> |
|
26 |
<% content_for :header_tags do %> |
|
27 |
<%= stylesheet_link_tag 'scm' %> |
|
28 |
<% end %> |
|
26 | 29 |
</div> |
30 |
</div> |
|
27 | 31 | |
28 | 32 |
<h2><%=h @board.name %></h2> |
29 | 33 | |
... | ... | |
57 | 61 |
<% else %> |
58 | 62 |
<p class="nodata"><%= l(:label_no_data) %></p> |
59 | 63 |
<% end %> |
64 | ||
65 |
app/views/messages/edit.rhtml (working copy) | ||
---|---|---|
11 | 11 |
:complete => "Element.scrollTo('preview')" |
12 | 12 |
}, :accesskey => accesskey(:preview) %> |
13 | 13 |
<% end %> |
14 |
<div id="preview" class="wiki"></div> |
|
14 | ||
15 |
<div id="preview" class="wiki"> |
|
16 |
<% content_for :header_tags do %> |
|
17 |
<%= stylesheet_link_tag 'scm' %> |
|
18 |
<% end %> |
|
19 |
</div> |
app/views/messages/new.rhtml (working copy) | ||
---|---|---|
12 | 12 |
}, :accesskey => accesskey(:preview) %> |
13 | 13 |
<% end %> |
14 | 14 | |
15 |
<div id="preview" class="wiki"></div> |
|
15 |
<div id="preview" class="wiki"> |
|
16 |
<% content_for :header_tags do %> |
|
17 |
<%= stylesheet_link_tag 'scm' %> |
|
18 |
<% end %> |
|
19 |
</div> |
app/views/messages/show.rhtml (working copy) | ||
---|---|---|
12 | 12 |
<p><span class="author"><%= authoring @topic.created_on, @topic.author %></span></p> |
13 | 13 |
<div class="wiki"> |
14 | 14 |
<%= textilizable(@topic.content, :attachments => @topic.attachments) %> |
15 |
<% content_for :header_tags do %> |
|
16 |
<%= stylesheet_link_tag 'scm' %> |
|
17 |
<% end %> |
|
15 | 18 |
</div> |
16 | 19 |
<%= link_to_attachments @topic.attachments, :no_author => true %> |
17 | 20 |
</div> |
... | ... | |
45 | 48 |
:complete => "Element.scrollTo('preview')" |
46 | 49 |
}, :accesskey => accesskey(:preview) %> |
47 | 50 |
<% end %> |
48 |
<div id="preview" class="wiki"></div> |
|
51 | ||
52 |
<div id="preview" class="wiki"> |
|
53 |
<% content_for :header_tags do %> |
|
54 |
<%= stylesheet_link_tag 'scm' %> |
|
55 |
<% end %> |
|
49 | 56 |
</div> |
57 | ||
58 |
</div> |
|
50 | 59 |
<% end %> |