Skip to content

Commit

Permalink
fix view add-on
Browse files Browse the repository at this point in the history
  • Loading branch information
zalun committed Jan 6, 2013
1 parent 08cfa83 commit 74d4dd6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions apps/jetpack/templates/addon_view.html
Expand Up @@ -24,6 +24,7 @@ <h3 class="UI_Sidebar_Toggler modules opened"><a title="Modules" href="#">

{% block core_library %}
{% if revision.sdk %}
{% if revision.get_sdk_revision() %}
<li class="UI_File_Normal Core_library"
id="core_library_lib"
title="{{ revision.get_sdk_revision().full_name }}"
Expand All @@ -36,6 +37,18 @@ <h3 class="UI_Sidebar_Toggler modules opened"><a title="Modules" href="#">
<span class="icon"></span>
</div>
</li>
{% else %}
<li class="UI_File_Normal Core_library"
id="core_library_lib"
title="SDK">
<a class="expand" href="#"></a>
<div class="holder">
<a href="#">
<span class="label">SDK {{ revision.sdk.version }}</span>
</a>
<span class="icon"></span>
</div>
</li>
{% endif %}
{% endblock %}

Expand Down

0 comments on commit 74d4dd6

Please sign in to comment.