Skip to content

Commit

Permalink
smaller thumb on group, adjusting arrows of metabar
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhuang committed May 14, 2013
1 parent 0092f95 commit 0965b7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions deme_django/cms/templates/group/show.html
@@ -1,14 +1,13 @@
{% extends layout %}
{% load item_tags %}
{% block title-section %}{% endblock %}
{% comment %}{% block title-section %}{% endblock %}{% endcomment %}

{% block content %}
<div class="group-profile container">
<div class="header row">
<div class="col col-lg-2 thumb" style="background-image:url('{% if item.image %}{% ifagentcan 'view Group.image' item %}{% ifagentcan 'view FileDocument.datafile' item.image %}{{ item.image.datafile.url }}{% endifagentcan %}{% endifagentcan %}{% else %}{{ item.actual_item_type|icon_url:128 }}{% endif %}')">
<div class="col col-lg-4 thumb" style="background-image:url('{% if item.image %}{% ifagentcan 'view Group.image' item %}{% ifagentcan 'view FileDocument.datafile' item.image %}{{ item.image.datafile.url }}{% endifagentcan %}{% endifagentcan %}{% else %}{{ item.actual_item_type|icon_url:128 }}{% endif %}')">
</div>
<div class="col col-lg-10">
<h1 class="title">{% viewable_name item %}</h1>
<div class="col col-lg-8">
{% ifagentcan 'view Item.description' item %}
<p>{{ item.description }}</p>
{% endifagentcan %}
Expand Down
4 changes: 2 additions & 2 deletions deme_django/cms/templates/includes/metabar.html
Expand Up @@ -19,8 +19,8 @@
<div class="title">
Metadata
<div class="pull-right">
<button class="resize resize-left"><i class="glyphicon glyphicon-arrow-left"></i></button>
<button class="resize resize-right"><i class="glyphicon glyphicon-arrow-right"></i></button>
<button class="resize resize-left"><i class="glyphicon glyphicon-step-backward"></i></button>
<button class="resize resize-right"><i class="glyphicon glyphicon-step-forward"></i></button>
</div>
</div>

Expand Down

0 comments on commit 0965b7a

Please sign in to comment.