Merge branch 'MDL-58621-master' of git://github.com/ryanwyllie/moodle
authorDan Poltawski <dan@moodle.com>
Thu, 20 Apr 2017 12:14:00 +0000 (13:14 +0100)
committerDan Poltawski <dan@moodle.com>
Thu, 20 Apr 2017 12:14:00 +0000 (13:14 +0100)
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/boost/scss/moodle/blocks.scss
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 fb02c53..6a0962c 100644 (file)
@@ -147,7 +147,7 @@ $doughnut-fill-colour: $brand-warning;
             /*rtl:ignore*/
             left: 50%;
             margin: 0;
-            transform: translate(-48%, -50%);
+            transform: translate(-45%, -45%);
             color: #fff;
             height: ($chart-size / 2) + 10px;
             width: ($chart-size / 2) + 10px;
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>