diff --git a/views/blocks/software_information.html.erb b/views/blocks/software_information.html.erb index cdc3dd0..dd82bea 100644 --- a/views/blocks/software_information.html.erb +++ b/views/blocks/software_information.html.erb @@ -12,7 +12,7 @@ <%= link_to profile_image(block.owner, :big) +"\n", profile.url %> diff --git a/views/profile/index.html.erb b/views/profile/index.html.erb new file mode 100644 index 0000000..199efef --- /dev/null +++ b/views/profile/index.html.erb @@ -0,0 +1,26 @@ +

<%= h profile.name %>

+ +<% if @action %> + <%= render :partial => 'private_profile' %> +<% else %> + <% unless profile.description.blank? %> +
+ <%= profile.description %> +
+ <% end %> +<% end %> + +
+ <%= render "blocks/profile_info_actions/join_leave_community" %> + <% if !user.nil? && user.has_permission?('edit_profile', profile) %> +
+ <%= button :control_panel, _('Control Panel'), profile.admin_url %> +
+ <% end %> +
+ +<% if @profile.public? || (logged_in? && current_person.follows?(@profile)) %> + + +
+<% end %> -- libgit2 0.21.2