cmstyle 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ html lang="en"
|
|
3
3
|
head
|
4
4
|
title #{APPLICATION_NAME}
|
5
5
|
meta charset="utf-8"
|
6
|
-
meta name="viewport" content="
|
6
|
+
meta name="viewport" content="initial-scale=1.0"
|
7
7
|
meta name="description" content="Compound Management Web Application"
|
8
8
|
meta name="author" content="Compound Management"
|
9
9
|
|
@@ -41,7 +41,12 @@ module CMStyle
|
|
41
41
|
|
42
42
|
# dont place an achnor tag when vertical divider
|
43
43
|
unless item_class.include?('divider-vertical') || item_class.include?('divider')
|
44
|
-
|
44
|
+
if item[:'data-toggle'] == 'modal'
|
45
|
+
attributes = {:href => item[:href], :'data-toggle' => item[:'data-toggle'], :'data-target' => item[:'data-target']}
|
46
|
+
else
|
47
|
+
attributes = {:href => item[:href]}
|
48
|
+
|
49
|
+
end
|
45
50
|
buffer << build_opening_tag(:a,pre_space+2,attributes,nil)
|
46
51
|
|
47
52
|
if item[:icon]
|
data/lib/cmstyle/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: cmstyle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.17
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Thomas Steiner
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-12-
|
13
|
+
date: 2012-12-12 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|