-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
58 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<article> | ||
<h1>See screen preview and modify subscriptions</h1> | ||
</article> | ||
|
||
<aside> | ||
|
||
<div> | ||
<%= link_to 'Edit Screen Details', edit_screen_path(@screen), :class => "btn" %> | ||
<br /><br /> | ||
|
||
<p><b>Location:</b> <%= @screen.location %></p> | ||
|
||
<p><b>Owned by:</b> <%= @screen.owner ? @screen.owner.name : 'No Group' %></p> | ||
|
||
<p> | ||
<b>Current Subscriptions:</b> | ||
|
||
<ul> | ||
<% @screen.fields.each do |field| %> | ||
<li><%= field.name %></li> | ||
<% if !field.subscriptions.empty? %> | ||
<ul> | ||
<% field.subscriptions.each do |subscription| %> | ||
<li><%= link_to subscription.feed.name, subscription.feed %><%= " - #{subscription.weight}" unless subscription.weight.blank?%></li> | ||
<% end %> | ||
</ul> | ||
<% end %> | ||
<% end %> | ||
</ul> | ||
</p> | ||
</div> | ||
|
||
</aside> | ||
|
||
<div class="clear"></div> |
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,4 @@ | ||
<h1> | ||
<%= link_to "All Screens", screens_path %> > | ||
<%= @screen.name %> | ||
</h1> |
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 |
---|---|---|
@@ -1,45 +1,8 @@ | ||
<p> | ||
<b>Name:</b> | ||
<%= @screen.name %> | ||
</p> | ||
|
||
<p> | ||
<b>Location:</b> | ||
<%= @screen.location %> | ||
</p> | ||
|
||
<p> | ||
<b>Is public:</b> | ||
<%= @screen.is_public %> | ||
</p> | ||
|
||
<p> | ||
<b>Owner:</b> | ||
<%= @screen.owner.name %> | ||
</p> | ||
|
||
<p> | ||
<b>Template:</b> | ||
<%= link_to @screen.template.name, @screen.template %> | ||
</p> | ||
<p> | ||
<b>resolution</b> | ||
<%= @screen.width %> X <%= @screen.height %> (<%= @screen.aspect_ratio["width"] %>:<%= @screen.aspect_ratio["height"] %>) | ||
</p> | ||
<p> | ||
<b>Current Subscriptions:</a> | ||
<ul> | ||
<% @screen.fields.each do |field| %> | ||
<li><%= field.name %></li> | ||
<% if !field.subscriptions.empty? %> | ||
<ul> | ||
<% field.subscriptions.each do |subscription| %> | ||
<li><%= link_to subscription.feed.name, subscription.feed %><%= " - #{subscription.weight}" unless subscription.weight.blank?%></li> | ||
<% end %> | ||
</ul> | ||
<% end %> | ||
<% end %> | ||
</ul> | ||
</p> | ||
<%= link_to 'Edit', edit_screen_path(@screen) %> | | ||
<%= link_to 'Back', screens_path %> | ||
<section class="C"> | ||
<header id="screens-header"> | ||
<%= render :partial => "screens/screen_header" %> | ||
</header> | ||
<div id="screens-body" class="C-cont"> | ||
<%= render :partial => "screens/screen_body" %> | ||
</div> | ||
</section> |
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,8 @@ | ||
<section class="C"> | ||
<header id="browse-header"> | ||
<h1 id="contentlist"><%= @submission.content.name %></h1> | ||
<%= render :partial => "submissions/content_header" %> | ||
</header> | ||
<div id="browse-body" class="C-cont"> | ||
<%= render :partial => "submissions/content_body" %> | ||
</div> | ||
</section> | ||
</section> |