<%= _lc( 'PROFILE_VIEW' ) %>

<%=raw p.getName() %>
<% if ( p.isInGroupCategory( 'DOGSCHOOL' ) ) { %>
<%= _lc( 'PROFILE_DOGNAME' ) %>
<%= p.getCustomGroupProperty( 'DOGSCHOOL', 'dogname' ) ? p.getCustomGroupProperty( 'DOGSCHOOL', 'dogname' ) : '---' %>
<% } %>
<%= _lc( 'PROFILE_STATUS' ) %>
<%= p.getStatus() %>
<% if ( app.model.SessionUser.canAdministrateProfile( p ) || p.isAdminInAGroupOfGiveProfile( app.model.SessionUser.getUserProfile() ) ) { %>
<%= _lc( 'ADDRESS' ) %>
<%= p.getStreet() ? p.getStreet() : '---' %>
<%= p.getZipCode() ? p.getZipCode() : '' %> <%= p.getCity() ? p.getCity() : '' %>
<%= _lc( 'PHONE' ) %>
<%= p.getMobile() ? p.getMobile() : '---' %>
<%= p.getPhone() ? p.getPhone() : '---' %>
<%= _lc( 'BIRTHDAY' ) %>
<%= ( null != p.getMomentBirthday() ) ? p.getMomentBirthday().format( 'DD.MM.YYYY' ) : '---' %>
<% } %>