Update ecosystem for new devise

This commit is contained in:
2013-09-15 08:51:13 +02:00
parent 748b0c2283
commit ebbb5dedfc
19 changed files with 308 additions and 222 deletions
@@ -0,0 +1,7 @@
<script>
var $locale = '<%= I18n.locale %>';
var supplier_id = '<%= current_supplier.id %>';
var data_host = '';
var event_host = '<%= event_host %>';
var datepicker_options = {dateFormat: 'yy-mm-dd', firstDay: <%= current_supplier.week_starts_on_monday? ? 1 : 0 %>};
</script>
+1 -1
View File
@@ -21,7 +21,7 @@ div.page-header= title :index, model_class
- @tables.each do |table|
tr
td.link= link_to table.number, [:suppliers, table]
td.link= link_to_if table.section.present?, table.section.try(:title), [:suppliers, table.section]
td.link= link_to_if table.section.present?, table.section.try(:title), tables_view_suppliers_section_path(table.section)
td.timestamp data-time=table.created_at.utc.iso8601
td.actions
= link_to t('helpers.links.edit'), [:edit, :suppliers, table], class: 'btn btn-mini', data: {t: 'helpers.links.edit'}