end
def show
+ if !@object
+ return render_not_found("object not found")
+ end
@objects = @object.contents(limit: 50,
include_linked: true,
offset: params[:offset] || 0)
if (!tab_pane_valid_state[pane]) {
tab_pane_valid_state[pane] = true;
$(document).trigger('ajax:send');
- $.ajax('<%=j url_for @object %>?tab_pane='+pane, {dataType: 'html', type: 'GET'}).
+ $.ajax('<%=j url_for() %>?tab_pane='+pane, {dataType: 'html', type: 'GET'}).
done(function(data, status, jqxhr) {
$('#' + pane + ' > div > div').html(data);
$(document).trigger('ajax:complete');
<div class="panel-heading">
<h3 class="panel-title">
<% i = 0 %>
- <% @folder_links.each do |l| %>
+ <% @project_links.each do |l| %>
<%= if i > 0 then ', ' end %>
<% i += 1 %>
<%= l.name %>
</li>
<% end %>
- <li class="dropdown notification-menu">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" id="collections-menu">
+ <li class="dropdown selection-menu">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span class="fa fa-lg fa-paperclip"></span>
<span class="badge" id="persistent-selection-count"></span>
</a>
visit '/projects'
find('.arv-project-list a,button', text: 'A Project').click
- find('#collections-menu').click
+ find('li.selection-menu > a').click
click_button 'Copy selections into this project'
# create a pipeline instance
tail_uuid: zzzzz-tpzed-xurymjxw79nv3jz
link_class: permission
name: can_write
- head_uuid: zzzzz-2x53u-382brsig8rp3666
+ head_uuid: zzzzz-s0uqq-382brsig8rp3666
properties: {}
miniadmin_user_is_a_testusergroup_admin: