app/soc/templates/soc/host/public.html
changeset 409 9d24850db88f
parent 404 44223e50e1fc
child 415 6488ff168b42
equal deleted inserted replaced
408:7cd6bdfbf95c 409:9d24850db88f
    10 distributed under the License is distributed on an "AS IS" BASIS,
    10 distributed under the License is distributed on an "AS IS" BASIS,
    11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12 See the License for the specific language governing permissions and
    12 See the License for the specific language governing permissions and
    13 limitations under the License.
    13 limitations under the License.
    14 {% endcomment %}
    14 {% endcomment %}
       
    15 {% load forms_helpers %}
    15 
    16 
    16 {% block page_title %}
    17 {% block page_title %}
    17 {{ entity.title }}
    18 {{ entity.user.link_name }}
    18 {% endblock %}
    19 {% endblock %}
    19 
    20 
    20 {% block header_title %}
    21 {% block header_title %}
    21 {{ entity.title }}
    22 {{ entity.user.link_name }}
    22 {% endblock %}
    23 {% endblock %}
    23 
    24 
    24 {% block body %}
    25 {% block body %}
    25 <div id="createdon">Created on: {{ entity.created }}</div>
    26 <p>
    26 <div id="createdby">Created by: {{ entity.author.nick_name }}</div>
    27  <table>
    27 <div id="content">{{ entity.content|safe }}</div>
    28   {% readonly_field_as_table_row entity.fields.given_name.label entity.given_name %}
    28 <div id="lastmodified">Last updated on: {{ entity.modified }}</div>
    29   {% readonly_field_as_table_row entity.fields.surname.label entity.surname %}
       
    30   {% readonly_field_as_table_row entity.fields.display_name.label entity.display_name %}
       
    31   {% readonly_field_as_table_row entity.fields.surname.label entity.surname %}
       
    32   {% readonly_field_as_table_row entity.fields.display_name.label entity.display_name %}
       
    33   {% readonly_field_as_table_row entity.fields.email.label entity.email %}
       
    34   <!-- TODO(pawel.solyga) make this generic -->
       
    35  </table>
       
    36 </p>
    29 {% endblock %}
    37 {% endblock %}