rich_table_component 0.0.26 → 0.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -198,14 +198,19 @@ module ComponentHelper
198
198
  end
199
199
 
200
200
  def row_number local_var_assignments
201
- counter = local_var_assignments["#{local_var_assignments[:rtc_partial].split('/').last}_counter".to_sym].presence || 0
202
- offset = local_var_assignments[:offset]
203
201
  result = '<td class="numeric rtc_row_number">'
204
- if offset
205
- result << "#{counter + offset + 1}."
202
+
203
+ if local_var_assignments[:rtc_partial].present?
204
+ counter = local_var_assignments["#{local_var_assignments[:rtc_partial].split('/').last}_counter".to_sym].presence || 0
205
+ offset = local_var_assignments[:offset]
206
+ if offset
207
+ result << "#{counter + offset + 1}."
208
+ else
209
+ result << '(baru)'
210
+ end
206
211
  else
207
- result << '(baru)'
208
- end
212
+ result << '(update)'
213
+ end
209
214
  result << '</td>'
210
215
 
211
216
  result.html_safe
@@ -1,3 +1,3 @@
1
1
  module RichTableComponent
2
- VERSION = "0.0.26"
2
+ VERSION = "0.0.27"
3
3
  end
@@ -351,7 +351,7 @@ body
351
351
  padding-top: 0px
352
352
  padding-bottom: 15px
353
353
  .component_title
354
- font: #{$main_font_size * 2} Museo700, $display_font_family
354
+ font: 20px Museo700, $display_font_family
355
355
  color: $dark_color
356
356
  margin-bottom: 10px
357
357
  .component_content
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rich_table_component
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.26
4
+ version: 0.0.27
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-22 00:00:00.000000000 Z
12
+ date: 2013-07-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass-rails