Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/studio/templates/filer.html
diff options
context:
space:
mode:
authorSebastian Silva <sebastian@sugarlabs.org>2011-11-09 05:24:34 (GMT)
committer Sebastian Silva <sebastian@sugarlabs.org>2011-11-09 05:24:34 (GMT)
commit61517139f02df2ce417f465dfabdbf5dbe8f4063 (patch)
treefaca86aa6dfce7512efaf60ea6c8d9db0dd8e70f /studio/templates/filer.html
parentf19b166851a2d722802b10901a12d4d8962f9fb6 (diff)
IDE+Documentation Redesign
Diffstat (limited to 'studio/templates/filer.html')
-rw-r--r--studio/templates/filer.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/studio/templates/filer.html b/studio/templates/filer.html
index 5ca87e7..f03f3ac 100644
--- a/studio/templates/filer.html
+++ b/studio/templates/filer.html
@@ -39,10 +39,15 @@
<div id="filer" class="bling">
<ul>
<li py:for="file in files">
- <a href="${file.href}" class="file">
+ <a py:if="file.mode == 'dir'" href="${file.href}" class="file">
<img src="/static/icons/${file.icon}" style="border:none;"/>
<br/>${file.name}
- </a></li>
+ </a>
+ <a py:if="file.mode != 'dir'" target="frame1" href="${file.href}" class="file">
+ <img src="/static/icons/${file.icon}" style="border:none;"/>
+ <br/>${file.name}
+ </a>
+ </li>
</ul>
</div>
<script>