yummy-guide-generic-administrate 0.7.1 → 0.8.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0a5f41bc5f403a7d4da80d9a2b66c7313a9370374e171d2916b96de8aea2a8d
4
- data.tar.gz: 77c5494b19b7c2364477e394c954e5640ac737658e05ec481ecef62aafc30c59
3
+ metadata.gz: e0c5692ebb60bfcc4d51157cdca7e52f974523f546c0d75ab5e3b350815a5316
4
+ data.tar.gz: 9f398e159619da8c35955fcaaa0a2d2c7a1df5249154486c95326a5fe99e6b1d
5
5
  SHA512:
6
- metadata.gz: 73ea4e2fb99ffc3e16393fc105e93b39e0812ad313f4e88f95a333ae18a10132e7207e482c956f37dad5391c8ceb6ab246724adc6e413fe8d5b012c3d45c03fc
7
- data.tar.gz: e891e0b581251db97ac188c934bef264d77790b47b154e44dd57f4d82cc57e4bd1f8d5a48e1537cf710e0e585935ff10eb889c3bac690a1455d16477b979b069
6
+ metadata.gz: 92ea6916e4083ad8dc0301f48df920d11f63a7f028846fbbdd6d9886b7b29eb30f0e812e2fa413b8db23de600050460867ec9a93d0d799124032619cc552b3fb
7
+ data.tar.gz: 688558efd455e8a364b0a7a070e2f088fdd4adb6684a4b143e37438cd8a5d8192f49918d834afba7478851b075c1984570e5d6666bdd04850f229167102a03fe
data/README.md CHANGED
@@ -138,7 +138,8 @@ engine の共通 partial に委譲します。
138
138
 
139
139
  gem 付属の collection partial をそのまま使う場合、table wrapper と table 本体に
140
140
  必要な `data-*` 属性はすでに入っています。そのため、JS / CSS を読み込めば固定
141
- ヘッダーは自動で有効になります。
141
+ ヘッダーとカラム幅調整は自動で有効になります。カラム幅調整を使う場合は
142
+ `yummy_guide_administrate/column_resizer.js` も読み込んでください。
142
143
 
143
144
  内部的には以下のような構造になります。
144
145
 
@@ -154,6 +155,8 @@ gem 付属の collection partial をそのまま使う場合、table wrapper と
154
155
  </div>
155
156
  ```
156
157
 
158
+ 複数画面で幅設定を共有したい場合は、render local に `column_width_storage_scope: "admin.reservations"` のような任意の scope 名を渡してください。
159
+
157
160
  #### 2. ヘッダー位置を明示したい場合
158
161
 
159
162
  固定ヘッダーの表示位置をページ上部の特定箇所に合わせたい場合は、