Bläddra i källkod

Merge branch 'master' into imprv/profile-image-cache

# Conflicts:
#	src/server/views/widget/page_list.html
yusuketk 5 år sedan
förälder
incheckning
72b7227726
4 ändrade filer med 35 tillägg och 26 borttagningar
  1. 13 4
      CHANGES.md
  2. 1 1
      package.json
  3. 5 5
      src/server/views/modal/empty_trash.html
  4. 16 16
      src/server/views/widget/page_list.html

+ 13 - 4
CHANGES.md

@@ -1,10 +1,10 @@
 # CHANGES
 # CHANGES
 
 
-## v3.8.1-RC
+## v3.8.2-RC
 
 
-* Fix: Unset overflow-y style for Edit Tags Modal
+*
 
 
-## v3.8.0
+## v3.8.1
 
 
 ### BREAKING CHANGES
 ### BREAKING CHANGES
 
 
@@ -15,11 +15,20 @@ Upgrading Guide: <https://docs.growi.org/en/admin-guide/upgrading/38x.html>
 ### Updates
 ### Updates
 
 
 * Improvement: Change the health check method for Elasticsearch
 * Improvement: Change the health check method for Elasticsearch
+* Fix: Unset overflow-y style for Edit Tags Modal
+* Fix: Duplicate page source is overwrited
+    * Introduced by 3.7.6
 
 
-## v3.7.6
+## v3.8.0  (Missing number)
+
+## v3.7.7
 
 
 * Feature: Empty trash pages
 * Feature: Empty trash pages
 * Improvement: Behavior of Reconnect to Elasticsearch button
 * Improvement: Behavior of Reconnect to Elasticsearch button
+* Fix: Duplicate page source is overwrited
+    * Introduced by 3.7.6
+
+## v3.7.6  (Missing number)
 
 
 ## v3.7.5
 ## v3.7.5
 
 

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "growi",
   "name": "growi",
-  "version": "3.8.1-RC",
+  "version": "3.8.2-RC",
   "description": "Team collaboration software using markdown",
   "description": "Team collaboration software using markdown",
   "tags": [
   "tags": [
     "wiki",
     "wiki",

+ 5 - 5
src/server/views/modal/empty_trash.html

@@ -14,15 +14,15 @@
         <ul>
         <ul>
           {% for data in pages %}
           {% for data in pages %}
             {% if pagePropertyName %}
             {% if pagePropertyName %}
-              {% set page = data[pagePropertyName] %}
+              {% set deletePage = data[pagePropertyName] %}
             {% else %}
             {% else %}
-              {% set page = data %}
+              {% set deletePage = data %}
             {% endif %}
             {% endif %}
             <li>
             <li>
-              <img src="{{ page.lastUpdateUser|picture }}" class="picture img-circle">
-              <a href="{{ page.path }}"
+              <img src="{{ deletePage.lastUpdateUser|picture }}" class="picture img-circle">
+              <a href="{{ deletePage.path }}"
                 class="page-list-link"
                 class="page-list-link"
-                data-path="{{ page.path }}">{{ decodeURIComponent(page.path) }}
+                data-path="{{ deletePage.path }}">{{ decodeURIComponent(deletePage.path) }}
               </a>
               </a>
             </li>
             </li>
           {% endfor %}
           {% endfor %}

+ 16 - 16
src/server/views/widget/page_list.html

@@ -2,46 +2,46 @@
 {% for data in pages %}
 {% for data in pages %}
 
 
 {% if pagePropertyName %}
 {% if pagePropertyName %}
-  {% set page = data[pagePropertyName] %}
+  {% set listPage = data[pagePropertyName] %}
 {% else %}
 {% else %}
-  {% set page = data %}
+  {% set listPage = data %}
 {% endif %}
 {% endif %}
 
 
 <li>
 <li>
   <!-- [TODO][GW-1942] add method for updating imageUrlCached -->
   <!-- [TODO][GW-1942] add method for updating imageUrlCached -->
-  <img src="{{ page.lastUpdateUser.imageUrlCached }}" class="picture img-circle">
-  <a href="{{ page.path }}"
+  <img src="{{ listPage.lastUpdateUser.imageUrlCached }}" class="picture img-circle">
+  <a href="{{ listPage.path }}"
     class="page-list-link"
     class="page-list-link"
-    data-path="{{ page.path }}">{{ decodeURIComponent(page.path) }}
+    data-path="{{ listPage.path }}">{{ decodeURIComponent(listPage.path) }}
   </a>
   </a>
   <span class="page-list-meta">
   <span class="page-list-meta">
-    {% if page.isPortal() %}
+    {% if listPage.isPortal() %}
       <span class="label label-info">PORTAL</span>
       <span class="label label-info">PORTAL</span>
     {% endif  %}
     {% endif  %}
 
 
-    {% if page.isTemplate() %}
+    {% if listPage.isTemplate() %}
       <span class="label label-info">TMPL</span>
       <span class="label label-info">TMPL</span>
     {% endif  %}
     {% endif  %}
 
 
-    {% if page.commentCount > 0 %}
+    {% if listPage.commentCount > 0 %}
     <span>
     <span>
-      <i class="icon-bubble"></i>{{ page.commentCount }}
+      <i class="icon-bubble"></i>{{ listPage.commentCount }}
     </span>
     </span>
     {% endif  %}
     {% endif  %}
 
 
-    {% if page.liker.length > 0 %}
-    <span class="page-list-liker" data-count="{{ page.liker.length }}">
-      <i class="icon-like"></i>{{ page.liker.length }}
+    {% if listPage.liker.length > 0 %}
+    <span class="page-list-liker" data-count="{{ listPage.liker.length }}">
+      <i class="icon-like"></i>{{ listPage.liker.length }}
     </span>
     </span>
     {% endif  %}
     {% endif  %}
 
 
-    {% if viewConfig.seener_threshold and page.seenUsers.length >= viewConfig.seener_threshold %}
-    <span class="page-list-seer" data-count="{{ page.seenUsers.length }}">
-      <i class="fa fa-paw"></i>{{ page.seenUsers.length }}
+    {% if viewConfig.seener_threshold and listPage.seenUsers.length >= viewConfig.seener_threshold %}
+    <span class="page-list-seer" data-count="{{ listPage.seenUsers.length }}">
+      <i class="fa fa-paw"></i>{{ listPage.seenUsers.length }}
     </span>
     </span>
     {% endif  %}
     {% endif  %}
 
 
-    {% if !page.isPublic() %}
+    {% if !listPage.isPublic() %}
     <span>
     <span>
       <i class="icon icon-lock"></i>
       <i class="icon icon-lock"></i>
     </span>
     </span>