Преглед изворни кода

update to "organization & institution"

pull/228/head
Alej пре 1 година
родитељ
комит
415c4e3b5a
1 измењених фајлова са 16 додато и 4 уклоњено
  1. 16
    4
      vue-theme/src/components/sidebars/sidebar.vue

+ 16
- 4
vue-theme/src/components/sidebars/sidebar.vue Прегледај датотеку

@@ -69,9 +69,20 @@ aside.sidebar
69 69
                         router-link(:to="`/${type}/sorted/by-episode#${episodeSet}`")
70 70
                             p {{ episodeSet }}   
71 71
 
72
+        //- //- if {{type}} has sorted by-type show subtype sets 
73
+        //- .shadow(v-if="includes(type) && layout !== 'single'")
74
+        //-     h3.t-up {{ type }}s type  
75
+        //-     ul.t-up
76
+        //-         li
77
+        //-             template(v-for="subtypeSet in subtypeSets") 
78
+        //-                 router-link(:to="`/${type}/sorted/by-type#${subtypeSet}`")
79
+        //-                     p {{ subtypeSet }}
80
+
72 81
         //- if {{type}} has sorted by-type show subtype sets 
82
+        
83
+        //- .shadow(v-if="shouldShowTypeSort.includes(type) && layout !== 'single' && type === 'artist'")
73 84
         .shadow(v-if="shouldShowTypeSort.includes(type) && layout !== 'single'")
74
-            h3.t-up {{ type }}s type  
85
+            h3.t-up Organizations & Institutions   
75 86
             ul.t-up
76 87
                 li
77 88
                     template(v-for="subtypeSet in subtypeSets") 
@@ -136,6 +147,7 @@ export default {
136 147
                 'by episode': `${sortTypes.episode}`,   //:3
137 148
                 'by type': `${sortTypes.subtype}`,      //:4
138 149
                 'by past': `${sortTypes.past}`,         //:5
150
+                'Organizations & Institutions': `${sortTypes.subtype}`,      //:6
139 151
                 // subtype: 'by-type',
140 152
             },
141 153
             charaSets: [
@@ -143,7 +155,7 @@ export default {
143 155
                 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'
144 156
             ],
145 157
             episodeSets: [
146
-                'play', 'miniatures', 'inspiration', 'home', 'jewelry', 'harmony', 'storytellers', 
158
+                'collectors', 'science', 'play', 'miniatures', 'inspiration', 'home', 'jewelry', 'harmony', 'storytellers', 
147 159
                 'democracy', 'identity', 'quilts', 'visionaries', 'california', 
148 160
                 'neighbors', 'borders', 'nature', 'teachers', 'music', 
149 161
                 'celebration', 'service', 'industry', 'holiday', 'forge', 
@@ -185,7 +197,7 @@ export default {
185 197
                         Object.keys(this.sortTypes)[0],
186 198
                         Object.keys(this.sortTypes)[1],
187 199
                         Object.keys(this.sortTypes)[3],
188
-                        Object.keys(this.sortTypes)[4],
200
+                        Object.keys(this.sortTypes)[6],
189 201
                         // `by ${this.type} type`,
190 202
                     ]
191 203
                     break
@@ -203,7 +215,7 @@ export default {
203 215
                     break
204 216
                 case 'post':
205 217
                     opts = [
206
-                        Object.keys(this.sortTypes)[4],
218
+                        // Object.keys(this.sortTypes)[4],
207 219
                     ]
208 220
                     break
209 221
                 case 'short':

Loading…
Откажи
Сачувај