This repository has been archived by the owner on Aug 15, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow for things like footer sections via a special/ path in pages
- Loading branch information
Josh Adams
committed
Nov 24, 2008
1 parent
5bfc106
commit 0e79dd3
Showing
6 changed files
with
38 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<% if page.page_plugins.any? -%> | ||
<% page.page_plugins.each do |plugin| -%> | ||
<%= render :partial => plugin.module_class.view_partial, :locals => { :plugin_module => plugin.module } -%> | ||
<% end -%> | ||
<% end -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
<% if @page.display_title %> | ||
<h2><%= @page.full_title %></h2> | ||
<% end %> | ||
<% if @page.page_plugins.any? -%> | ||
<% @page.page_plugins.each do |plugin| -%> | ||
<%= render :partial => plugin.module_class.view_partial, :locals => { :plugin_module => plugin.module } -%> | ||
<% end -%> | ||
<% end -%> | ||
<%= render :partial => 'content/page', :object => @page %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
<div id="footer"> | ||
<a href="/pages/home">Home</a> | <a href="/pages/contact_us">Contact Us</a> | <a href="http://isotope11.selfip.com:11000/public_tickets/new" >Open a Trouble Ticket</a> | <a href="/pages/about_us">About Us</a> | <a href="/pages/payments">Make Payment</a> | <a href="/pages/site_map">Site Map</a><br/> | ||
<br/> | ||
©2008 Isotope 11 | 600 Beacon Parkway West, Suite 950 | Birmingham, AL 35209<br/> | ||
Office: 205.795.2551 | Fax: 205.795.2553 | Email: <a href="mailto:info@isotope11.com" class="">info@isotope11.com</a> | ||
<%= render_special 'footer' %> | ||
</div> |