Patch #1473 » boards_code_syntax_highlighting.patch
| app/views/boards/edit.rhtml (working copy) | ||
|---|---|---|
|
<%= render :partial => 'form', :locals => {:f => f} %>
|
||
|
<%= submit_tag l(:button_save) %>
|
||
|
<% end %>
|
||
|
<div id="preview" class="wiki">
|
||
|
<% content_for :header_tags do %>
|
||
|
<%= stylesheet_link_tag 'scm' %>
|
||
|
<% end %>
|
||
|
</div>
|
||
| app/views/boards/index.rhtml (working copy) | ||
|---|---|---|
|
<% content_for :header_tags do %>
|
||
|
<%= auto_discovery_link_tag(:atom, {:controller => 'projects', :action => 'activity', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key}) %>
|
||
|
<%= stylesheet_link_tag 'scm' %>
|
||
|
<% end %>
|
||
| app/views/boards/new.rhtml (working copy) | ||
|---|---|---|
|
<%= render :partial => 'form', :locals => {:f => f} %>
|
||
|
<%= submit_tag l(:button_create) %>
|
||
|
<% end %>
|
||
|
<div id="preview" class="wiki">
|
||
|
<% content_for :header_tags do %>
|
||
|
<%= stylesheet_link_tag 'scm' %>
|
||
|
<% end %>
|
||
|
</div>
|
||
| app/views/boards/show.rhtml (working copy) | ||
|---|---|---|
|
}, :accesskey => accesskey(:preview) %> |
|
||
|
<%= link_to l(:button_cancel), "#", :onclick => 'Element.hide("add-message")' %></p>
|
||
|
<% end %>
|
||
|
<div id="preview" class="wiki"></div>
|
||
|
<div id="preview" class="wiki">
|
||
|
<% content_for :header_tags do %>
|
||
|
<%= stylesheet_link_tag 'scm' %>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2><%=h @board.name %></h2>
|
||
| ... | ... | |
|
<% else %>
|
||
|
<p class="nodata"><%= l(:label_no_data) %></p>
|
||
|
<% end %>
|
||
| app/views/messages/edit.rhtml (working copy) | ||
|---|---|---|
|
:complete => "Element.scrollTo('preview')"
|
||
|
}, :accesskey => accesskey(:preview) %>
|
||
|
<% end %>
|
||
|
<div id="preview" class="wiki"></div>
|
||
|
<div id="preview" class="wiki">
|
||
|
<% content_for :header_tags do %>
|
||
|
<%= stylesheet_link_tag 'scm' %>
|
||
|
<% end %>
|
||
|
</div>
|
||
| app/views/messages/new.rhtml (working copy) | ||
|---|---|---|
|
}, :accesskey => accesskey(:preview) %>
|
||
|
<% end %>
|
||
|
<div id="preview" class="wiki"></div>
|
||
|
<div id="preview" class="wiki">
|
||
|
<% content_for :header_tags do %>
|
||
|
<%= stylesheet_link_tag 'scm' %>
|
||
|
<% end %>
|
||
|
</div>
|
||
| app/views/messages/show.rhtml (working copy) | ||
|---|---|---|
|
<p><span class="author"><%= authoring @topic.created_on, @topic.author %></span></p>
|
||
|
<div class="wiki">
|
||
|
<%= textilizable(@topic.content, :attachments => @topic.attachments) %>
|
||
|
<% content_for :header_tags do %>
|
||
|
<%= stylesheet_link_tag 'scm' %>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
<%= link_to_attachments @topic.attachments, :no_author => true %>
|
||
|
</div>
|
||
| ... | ... | |
|
:complete => "Element.scrollTo('preview')"
|
||
|
}, :accesskey => accesskey(:preview) %>
|
||
|
<% end %>
|
||
|
<div id="preview" class="wiki"></div>
|
||
|
<div id="preview" class="wiki">
|
||
|
<% content_for :header_tags do %>
|
||
|
<%= stylesheet_link_tag 'scm' %>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
</div>
|
||
|
<% end %>
|
||