public
Description: Host your Google AppEngine apps on your own server.
Homepage: http://appdrop.com
Clone URL: git://github.com/jchris/appdrop.git
don't link to apps that aren't uploaded
jchris (author)
Mon Apr 14 13:05:18 -0700 2008
commit  867b7e2e643f862a26ad74a4073ba1d46f25d492
tree    c494c32d3e7c922c918fec941b74416bbc7eca6d
parent  e2bd70524c20f8635477a2eb7d986009c06408cf
...
1
2
 
 
 
 
3
4
...
1
 
2
3
4
5
6
7
0
@@ -1,3 +1,6 @@
0
 <li>
0
- <%= link_to list.name, app_path(list) %> (by <%= list.user %>) - <a href="http://<%= list.key %>.appdrop.com">http://<%= list.key %>.appdrop.com</a>
0
+ <%= link_to list.name, app_path(list) %> (by <%= list.user %>)
0
+ <% if list.uploads.count > 0 %>
0
+ - <a href="http://<%= list.key %>.appdrop.com">http://<%= list.key %>.appdrop.com</a>
0
+ <% end %>
0
 </li>
0
\ No newline at end of file
...
1
2
3
4
 
 
 
 
 
 
 
5
6
7
...
1
2
3
 
4
5
6
7
8
9
10
11
12
13
0
@@ -1,7 +1,13 @@
0
 <h2><%= @app.name %></h2>
0
 <dl>
0
   <dt>Visit at:</dt>
0
- <dd><a href="http://<%= @app.key %>.appdrop.com">http://<%= @app.key %>.appdrop.com</a></dd>
0
+ <dd>
0
+ <% if @app.uploads.count > 0 %>
0
+ <a href="http://<%= @app.key %>.appdrop.com">http://<%= @app.key %>.appdrop.com</a>
0
+ <% else %>
0
+ Wating for code upload.
0
+ <% end %>
0
+ </dd>
0
   <dt>Written by:</dt>
0
   <dd><%= @app.user %></dd>
0
 </dl>

Comments

    No one has commented yet.