Show Profile

<% if (!fromrepo) { %> <% } %> <% if (!isguest) { %> <% } %> <% if (!isguest) { %> <% if (fields.profile_version != 0) { %> <% } %> <% } %> <% if (fields.profile_version == 0 || fromrepo) { %> <% } else { %> <% } %> <% if (fromrepo) { %> <% } %> <% if (withpublishing) { %> <% } %> <% if (disabled) { %> <% } %>
Name: <%- fields.profile_name %>
Version: <% if (history) { %> <%- fields.profile_version %> <% } else { %> <%- fields.profile_version %> <% } %> <% if (version_uuid != fields.latest_uuid) { %> (Latest: <%- fields.latest_version %>) <% } %>
Project: <% if (isadmin) { %> <%- fields.profile_pid %> <% } else { %> <%- fields.profile_pid %> <% } %>
Creator: <% if (isadmin) { %> <%- fields.profile_creator %> <% } else { %> <%- fields.profile_creator %> <% } %>
Updated by: <% if (isadmin) { %> <%- fields.profile_updater %> <% } else { %> <%- fields.profile_updater %> <% } %>
Created:Updated: <%- fields.profile_created %>
Public: <% if (fields.profile_public) { %>Yes<% } else { %>No<% } %> <% if (canedit) { %> (change this setting) <% } %>
Writable: <% if (fields.profile_project_write) { %> Project Members <% } else { %> Profile Creator <% } %> <% if (isadmin || iscreator || isleader) { %> (change this setting) <% } %>
Refspec: <%- fields.profile_refspec %>
Commit: <%- fields.profile_refhash.substring(0,8) %>
Published: <%- fields.profile_published %>
Disabled:Yes
<% if (history) { %> Version History <% } %> <% if (activity) { %> Activity <% } %> <% if (paramsets) { %> Paramsets <% } %>
<% if (fromrepo) { %> <% } %> <% if (! isguest) { %>
<% if (!disabled && (canedit || fields.profile_public != 0)) { %> <% } %> <% if (canedit) { %> Edit <% } %> <% if (! disabled) { %> <% if (window.CANCOPY) { %> <% } %> <% if (gotrspec) { %> <% var url = "instantiate.php?profile=" + window.PROFILE + "&from=manage-profile"; %> Instantiate <% } %> <% } %>
<% } %>

Profile <%- fields.profile_pid %>/<%- fields.profile_name %>

<% if (fromrepo) { %>
<%- fields.profile_repourl %>
<% } %>