MDL-58621 block_myoverview: don't display course start and end dates
authorRyan Wyllie <ryan@moodle.com>
Wed, 19 Apr 2017 03:08:17 +0000 (03:08 +0000)
committerRyan Wyllie <ryan@moodle.com>
Wed, 19 Apr 2017 03:08:17 +0000 (03:08 +0000)
blocks/myoverview/templates/course-item.mustache
blocks/myoverview/templates/course-paging-content-item.mustache
blocks/myoverview/templates/course-paging-content.mustache
blocks/myoverview/templates/course-summary.mustache
blocks/myoverview/templates/courses-view-course-item.mustache
theme/bootstrapbase/templates/block_myoverview/course-item.mustache
theme/bootstrapbase/templates/block_myoverview/course-paging-content-item.mustache
theme/bootstrapbase/templates/block_myoverview/course-summary.mustache
theme/bootstrapbase/templates/block_myoverview/courses-view-course-item.mustache

index 7d2250b..c7ce9d8 100644 (file)
@@ -23,8 +23,6 @@
     {
         "shortname": "course 3",
         "viewurl": "https://www.google.com",
-        "startdate": 1490320388,
-        "enddate": 1490320388,
         "summary": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout."
     }
 }}
index c20a052..e9c99f7 100644 (file)
             {
                 "fullnamedisplay": "course 1",
                 "viewurl": "https://www.google.com",
-                "startdate": 1490252232,
-                "enddate": 1490252232,
                 "summary": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout."
             },
             {
                 "fullnamedisplay": "course 2",
                 "viewurl": "https://www.google.com",
-                "startdate": 1490252232,
-                "enddate": 1490252232,
                 "summary": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout."
             }
         ]
index 21a5561..85ee437 100644 (file)
                     {
                         "fullnamedisplay": "course 1",
                         "viewurl": "https://www.google.com",
-                        "startdate": 1490252232,
-                        "enddate": 1490252232,
                         "summary": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout."
                     },
                     {
                         "fullnamedisplay": "course 2",
                         "viewurl": "https://www.google.com",
-                        "startdate": 1490252232,
-                        "enddate": 1490252232,
                         "summary": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout."
                     }
                 ]
index dcde9a3..f9fcf9f 100644 (file)
@@ -23,8 +23,6 @@
     {
         "fullnamedisplay": "course 3",
         "viewurl": "https://www.google.com",
-        "startdate": 1490320388,
-        "enddate": 1490320388,
         "summary": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout."
     }
 }}
             </div>
         </div>
     </div>
-    <p class="text-muted">
-        {{#userdate}}{{startdate}}, {{#str}}strftimedate, langconfig{{/str}}{{/userdate}}
-        {{#enddate}}
-        - {{#userdate}}{{enddate}}, {{#str}}strftimedate, langconfig{{/str}}{{/userdate}}
-        {{/enddate}}
-    </p>
     <p class="text-muted">
         {{#shortentext}} 140, {{summary}}{{/shortentext}}
     </p>
index 529e33b..0d95121 100644 (file)
@@ -23,8 +23,6 @@
     {
         "fullnamedisplay": "course 3",
         "viewurl": "https://www.google.com",
-        "startdate": 1490252232,
-        "enddate": 1490252232,
         "summary": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout."
     }
 }}
                     </div>
                 </div>
             </div>
-            <p class="text-muted">
-                {{#userdate}}{{startdate}}, {{#str}}strftimedate, langconfig{{/str}}{{/userdate}}
-                {{#enddate}}
-                - {{#userdate}}{{enddate}}, {{#str}}strftimedate, langconfig{{/str}}{{/userdate}}
-                {{/enddate}}
-            </p>
             <p class="text-muted">
                 {{#shortentext}} 140, {{summary}}{{/shortentext}}
             </p>
index 9a8289f..d3f093a 100644 (file)
@@ -23,8 +23,6 @@
     {
         "shortname": "course 3",
         "viewurl": "https://www.google.com",
-        "startdate": 1490320388,
-        "enddate": 1490320388,
         "summary": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout."
     }
 }}
index c536b4c..91ab279 100644 (file)
             {
                 "fullnamedisplay": "course 1",
                 "viewurl": "https://www.google.com",
-                "startdate": 1490252232,
-                "enddate": 1490252232,
                 "summary": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout."
             },
             {
                 "fullnamedisplay": "course 2",
                 "viewurl": "https://www.google.com",
-                "startdate": 1490252232,
-                "enddate": 1490252232,
                 "summary": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout."
             }
         ]
index b80ac29..e799799 100644 (file)
@@ -23,8 +23,6 @@
     {
         "fullnamedisplay": "course 3",
         "viewurl": "https://www.google.com",
-        "startdate": 1490320388,
-        "enddate": 1490320388,
         "summary": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout."
     }
 }}
             </div>
         </div>
     </div>
-    <p class="muted">
-        {{#userdate}}{{startdate}}, {{#str}}strftimedate, langconfig{{/str}}{{/userdate}}
-        {{#enddate}}
-        - {{#userdate}}{{enddate}}, {{#str}}strftimedate, langconfig{{/str}}{{/userdate}}
-        {{/enddate}}
-    </p>
     <p class="muted">
         {{#shortentext}} 140, {{{summary}}}{{/shortentext}}
     </p>
index 753fa63..ba7c132 100644 (file)
@@ -23,8 +23,6 @@
     {
         "shortname": "course 3",
         "viewurl": "https://www.google.com",
-        "startdate": "Nov 1th, 10am",
-        "enddate": "Nov 4th, 10am",
         "summary": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout."
     }
 }}
                 <h4 class="media-heading"><a href="{{viewurl}}">{{fullnamedisplay}}</a></h4>
             </div>
         </div>
-        <p class="text-muted">
-            {{#userdate}}{{startdate}}, {{#str}}strftimedate, langconfig{{/str}}{{/userdate}}
-            {{#enddate}}
-            - {{#userdate}}{{enddate}}, {{#str}}strftimedate, langconfig{{/str}}{{/userdate}}
-            {{/enddate}}
-        </p>
         <p class="text-muted">
             {{#shortentext}} 140, {{{summary}}}{{/shortentext}}
         </p>