2014-02-17 18:05:39 +01:00
|
|
|
<%= render :partial => 'channelinfo', :locals => { :zone => "private" } %>
|
|
|
|
<div class="channel_stats_location">
|
|
|
|
<span class="channel_stats_text">Channel Stats</span>
|
|
|
|
<table>
|
|
|
|
<tr><td>Created</td><td ><abbr class="timeago channel_time_text" title="<%= @channel.created_at %>" ><%= @channel.created_at %></abbr></td></tr>
|
|
|
|
<tr><td>Updated</td><td ><abbr class="timeago channel_time_text" title="<%= @channel.updated_at %>" ><%= @channel.updated_at %></abbr></td></tr>
|
|
|
|
</table>
|
|
|
|
<span><%= @channel.feeds.count %> Entries</span>
|
|
|
|
</div>
|
|
|
|
<div class="CB" >
|
|
|
|
<div id="private_dialog0" class="column" > </div>
|
|
|
|
<div id="private_dialog1" class="column" > </div>
|
|
|
|
</div>
|
|
|
|
<script>
|
2014-08-02 04:10:21 +02:00
|
|
|
// when the document is ready
|
|
|
|
$(document).on('page:load ready', function() {
|
|
|
|
|
|
|
|
// when the devinfo link is clicked
|
|
|
|
$("#devInfoLink_private").click(function(e) {
|
2014-02-17 18:05:39 +01:00
|
|
|
var element = $("#devInfo");
|
|
|
|
openDialogCenter(element);
|
2014-08-02 04:10:21 +02:00
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
// when the add window link is clicked
|
|
|
|
$("#portletAddLink_private").click(function(e) {
|
|
|
|
$("#addPortlets").load('/channels/<%=@channel.id %>/hidden_windows?visibility_flag=private', function(e) {
|
2014-02-17 18:05:39 +01:00
|
|
|
var element = $("#addPortlets");
|
|
|
|
openDialogCenter(element);
|
2014-08-02 04:10:21 +02:00
|
|
|
});
|
|
|
|
return false;
|
2014-02-17 18:05:39 +01:00
|
|
|
});
|
2014-08-02 04:10:21 +02:00
|
|
|
|
2014-02-17 18:05:39 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
2014-08-01 21:57:02 +02:00
|
|
|
|