activate-admin 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/admin/views/index.erb +2 -2
- data/lib/activate-admin/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODAwNGQ1YThkYjE1MWFkNGQwNWZiZDc5MTQwZDM1YTBhMzNiMmI3ZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OThkYzFiM2E1MThiYjEwZjllNjJhNTNkMTgwYWYzNzllMmZhNDQ0YQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWJlMDVkODMxZGQ1MWEyMTY2ZGMzZGU4ZjE1ZmRhNWNkYjZjYTc3Mzk0YTZk
|
10
|
+
NjQ5MmNlNjg2NDBlODg5ZTNmYzU5MzgzOGUxN2Y5MDBkNTNlZGVmMGViNzll
|
11
|
+
YjRjYTJhODYyNmJlZWYzMmJlY2UxZmIzOTQxZjBjOGM4ZGMxNDI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWM3ZDcyYTljMjdlOWRhNDY1ZWI3MTJkMjI4ODkwMjEwZmM0ZTNjZjk2NzY3
|
14
|
+
MTdiM2U3MGI5YjdjYzZjMGY0YTczYmQ2OTU4Yzk1NjQ1ZGI4MzFmM2IyYjM2
|
15
|
+
YmRmNzQ2ZDAwNDc0N2QwOTQ5ZDgyYTYwMTJmMmIyZjZjZmZlYTU=
|
data/admin/views/index.erb
CHANGED
@@ -61,7 +61,7 @@
|
|
61
61
|
<i class="icon-caret-up"></i>
|
62
62
|
<% end %>
|
63
63
|
</a>
|
64
|
-
<%
|
64
|
+
<% elsif model.fields[fieldname.to_s] %>
|
65
65
|
<a title="Order by <%=fieldname%>" href="javascript:;" class="od odn">
|
66
66
|
<i class="icon-caret-right"></i>
|
67
67
|
</a>
|
@@ -69,7 +69,7 @@
|
|
69
69
|
|
70
70
|
<% if @f and @f[fieldname] %>
|
71
71
|
<a title="Searching for '<%=@f[fieldname]%>'; click to search again" href="javascript:;" class="f"><i class="icon-search"></i></a>
|
72
|
-
<% elsif model.fields[fieldname.to_s].type == String or (fieldname.to_s.ends_with?('_id') && Object.const_defined?((assoc_name = fieldname.to_s.gsub('_id','').camelize))) %>
|
72
|
+
<% elsif (fieldobj = model.fields[fieldname.to_s]) and fieldobj.type == String or (fieldname.to_s.ends_with?('_id') && Object.const_defined?((assoc_name = fieldname.to_s.gsub('_id','').camelize))) %>
|
73
73
|
<a title="Search in <%=fieldname%>" href="javascript:;" class="f fn"><i class="icon-search"></i></a>
|
74
74
|
<% end %>
|
75
75
|
</th>
|