public this repo is viewable by everyone
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/halorgium/mephisto.git
make the plugins index look more like the articles index
technoweenie (author)
3 months ago
commit  1cd5005248cd280b894971da122345a1616d280f
tree    65a98b098d64489c736a18ee1df971fc13d8b346
parent  d8038f72fecdeb573e8f0ced1892bc3f4c6ea489
...
36
37
38
39
 
40
41
42
...
36
37
38
 
39
40
41
42
0
@@ -36,7 +36,7 @@
0
 </div>
0
 <% end %>
0
 
0
-<% if @articles.any? %>
0
+<% if @articles.size > 0 -%>
0
 
0
 <% content_tag :p, :class => 'total' do %>
0
   Total: <%= content_tag :strong, @articles.total_entries %> articles.
...
1
2
3
4
5
6
7
8
 
9
10
 
11
12
13
...
20
21
22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
24
...
 
 
 
 
 
 
 
 
1
2
 
3
4
5
6
...
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
0
@@ -1,13 +1,6 @@
0
-
0
-<% content_for :sidebar do %>
0
-<div class="sgroup">
0
-Configurable plugins may include modifiable properties, notes, homepage, author, and version information.
0
-</div>
0
-<% end %>
0
-
0
-<% if @plugins.any? %>
0
+<% if @plugins.size > 0 -%>
0
   <!-- begin plugin list -->
0
-  <table id="plugin-list" cellspacing="0" cellpadding="0" align="center" width="75%">
0
+  <table id="article-list" cellspacing="0" cellpadding="0" align="center" width="75%">
0
    <thead>
0
    <tr>
0
    <th scope="col">Plugin</th>
0
@@ -20,4 +13,19 @@ Configurable plugins may include modifiable properties, notes, homepage, author,
0
    </tbody>
0
   </table>
0
 <!-- /end plugin list -->
0
+<% end %>
0
+
0
+<% content_for :action_nav do %>
0
+<!-- begin action nav -->
0
+<div id="page-nav">
0
+ <ul id="act-nav" class="clear">
0
+ </ul>
0
+</div>
0
+<!-- /end action nav -->
0
+<% end -%>
0
+
0
+<% content_for :sidebar do %>
0
+<div class="sgroup">
0
+Configurable plugins may include modifiable properties, notes, homepage, author, and version information.
0
+</div>
0
 <% end %>
0
\ No newline at end of file

Comments

    No one has commented yet.