<commit_before><div id="secondary_buttons">
		<%if session[:current_tab]=="Manage"%>
			<%= link_to "Spaces", :controller=>'spaces', :action=>'index', :container_id => @space.id %> |		
			<%= link_to "Roles", :controller=>'roles', :action=>'index', :container_id => @space.id %> |
			<%= link_to "Users", manage_users_path(:container_id => @space.id, :container_type => :spaces) %> |
			<%= link_to "Resources", :controller=>'machines', :action=>'manage_resources', :container_id => @space.id %>
		<%elsif session[:current_tab]=="Events"%>
			<%= link_to "New Event", :controller=>'events', :action=>'new', :container_id => @space.id %> |	
			<%= link_to "Show Calendar", :controller=>'events', :action=>'show_calendar', :container_id => @space.id %>	
		<%elsif session[:current_tab]=="Groups"%>
			<%if @space.manage_groups_by?(current_user)%>
			<%= link_to 'Create Group', create_group_path(:space,@container.id)%>
			<%end%>
		<%end%>
</div><commit_msg>botonera nueva<commit_after><div id="secondary_buttons">
		<%if current_user.superuser==true && session[:current_tab]=="Manage"%>
			<%= link_to "Spaces", :controller=>'spaces', :action=>'index', :container_id => @space.id %> |		
			<%= link_to "Roles", :controller=>'roles', :action=>'index', :container_id => @space.id %> |
			<%= link_to "Users", manage_users_path(:container_id => @space.id, :container_type => :spaces) %> |
			<%= link_to "Resources", :controller=>'machines', :action=>'manage_resources', :container_id => @space.id %>
		<%elsif current_user.superuser==true && session[:current_tab]=="Home"%>
			<%= link_to "Edit Space", edit_space_path(@space) %> |		
			<%= link_to "Delete Space", space_path(@space), :confirm => 'This will delete all the Space. Are you sure?', :method => :delete %>			
		<%elsif session[:current_tab]=="Events"%>
			<%= link_to "New Event", :controller=>'events', :action=>'new', :container_id => @space.id %> |	
			<%= link_to "Show Calendar", :controller=>'events', :action=>'show_calendar', :container_id => @space.id %>	
		<%elsif session[:current_tab]=="Groups"%>
			<%if @space.manage_groups_by?(current_user)%>
				<%= link_to 'Create Group', create_group_path(:space,@container.id)%>
			<%end%>
		<%elsif session[:current_tab]=="MyProfile"%>
			<%= link_to 'Edit Profile', edit_space_user_profile_path(@space.id, current_user.id)%> |
			<%= link_to 'Edit Account' , edit_space_user_path(@space.id, current_user.id)%>
		<%elsif session[:current_tab]=="People"%>
			<%= link_to "Manage Users", manage_users_path(:container_id => @space.id, :container_type => :spaces) %>
		<%end%>
</div>
{'fraction_non_alphanumeric': 0.2221365214037794, 'fraction_numerical': 0.0, 'mean_word_length': 6.39031339031339, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2219373', 'n_tokens_mistral': 1030, 'n_tokens_neox': 915, 'n_words': 155}