uPortal-Project/uportal-home

View on GitHub
mock-portal/src/main/webapp/api/marketplace/entry/MyCourses.json

Summary

Maintainability
Test Coverage
{
  "entry": {
    "canAdd": false,
    "categories": [
      "Academics"
    ],
    "description": "View your current courses and class schedule, and see each course's library materials and online resources, location, time, and contacts. ",
    "faIcon": "fa-pencil",
    "fname": "MyCourses",
    "id": "2397",
    "keywords": [
      "courses",
      "class schedule",
      "schedule",
      "library material",
      "online resources",
      "course info",
      "Moodle",
      "Learn@UW",
      "library reserves",
      "mycourses",
      "finals",
      "books",
      "grades"
    ],
    "layoutObject": {
      "altMaxUrl": true,
      "description": "View your current courses and class schedule, and see each course's library materials and online resources, location, time, and contacts. ",
      "faIcon": "fa-pencil",
      "fname": "MyCourses",
      "iconUrl": null,
      "lifecycleState": "PUBLISHED",
      "mdIcon": null,
      "nodeId": "-1",
      "pithyStaticContent": null,
      "renderOnWeb": false,
      "staticContent": null,
      "target": null,
      "title": "My Courses",
      "url": "/portal/p/MyCourses/render.uP",
      "widgetConfig": null,
      "widgetTemplate": "\n            <div sytle='width:100%'>\n               <ul class='widget-list'>\n                  <li ng-if='!isEmpty' ng-repeat='item in content.currentTermCourses.courses | limitTo:5'>\n                     <a href='/portal/p/MyCourses?pP_{{item.courseAdditionalInfos[0].key}}={{item.courseAdditionalInfos[0].value}}&pP_action=showCourse&pP_courseId={{item.id}}&pP_subjectCode={{item.courseDepartment.code}}&pP_catalogNbr={{item.code}}&pP_termCode={{content.currentTermCourses.termCode}}'>\n                        <p class='bold'>{{item.title | truncate:36}}</p>\n                        <p>{{item.courseDepartment.name}} {{item.code}}</p>\n                     </a>\n                  </li>\n               </ul>\n               <div style='font-size: 14px; height: 200px; display: table;' ng-if='!content || !content.currentTermCourses.courses || isEmpty' class='container-fluid'>\n                  <div style='display:table-cell; vertical-align:middle;''>\n                     <loading-gif data-object='content' data-empty='isEmpty' class='center'></loading-gif>\n                     <div ng-if='isEmpty'> <i class='fa fa-exclamation-triangle fa-3x pull-left' style='color: #b70101;'></i> <span style='color: #898989;'>We had a problem finding your courses. <a href='/web/#/static/myuw-help'>Get help</a>.</span> </div>\n                     <div ng-if='!content.currentTermCourses.courses.length && !isEmpty' text-align:center' class='row'>\n                        <div class='col-xs-12' style='text-align:center;'> <span>You don't have any </br>courses right now.</span> </div>\n                     </div>\n                  </div>\n               </div>\n            </div>\n            <a class='launch-app-button ng-scope' href='/portal/p/MyCourses'>See all my courses</a>\n        ",
      "widgetType": "generic",
      "widgetURL": "/web/staticFeeds/currentClassSchedule.json"
    },
    "lifecycleState": "PUBLISHED",
    "marketplaceScreenshots": [
      {
        "captions": [
          "View Your Course List"
        ],
        "url": "/images/screenshotImages/my-courses/courseList.png"
      },
      {
        "captions": [
          "View Your Course Schedule in a Grid View"
        ],
        "url": "/images/screenshotImages/my-courses/courseGrid.png"
      }
    ],
    "maxUrl": "/portal/p/MyCourses/render.uP",
    "name": "My Courses",
    "portletName": "MyCourses",
    "portletReleaseNotes": {
      "initialReleaseDate": null,
      "releaseDate": {
        "afterNow": false,
        "beforeNow": true,
        "centuryOfEra": 20,
        "chronology": {
          "zone": {
            "fixed": false,
            "id": "America/Chicago",
            "uncachedZone": {
              "cachable": true,
              "fixed": false,
              "id": "America/Chicago"
            }
          }
        },
        "dayOfMonth": 12,
        "dayOfWeek": 1,
        "dayOfYear": 132,
        "equalNow": false,
        "era": 1,
        "hourOfDay": 12,
        "millis": 1399914000000,
        "millisOfDay": 43200000,
        "millisOfSecond": 0,
        "minuteOfDay": 720,
        "minuteOfHour": 0,
        "monthOfYear": 5,
        "secondOfDay": 43200,
        "secondOfMinute": 0,
        "weekOfWeekyear": 20,
        "weekyear": 2014,
        "year": 2014,
        "yearOfCentury": 14,
        "yearOfEra": 2014,
        "zone": {
          "fixed": false,
          "id": "America/Chicago",
          "uncachedZone": {
            "cachable": true,
            "fixed": false,
            "id": "America/Chicago"
          }
        }
      },
      "releaseNotes": [
        "One-stop hub for all your course information",
        "Printable course and final exam schedules",
        "Access to your course and schedule history",
        "Responsive design in mind so it looks great on phones and desktop"
      ]
    },
    "portletWebAppName": "/CoursesPortlet",
    "rating": 3.5,
    "relatedPortlets": null,
    "renderUrl": "/portal/p/MyCourses/render.uP",
    "shortUrl": "http://goo.gl/QGf3oJ",
    "target": null,
    "title": "My Courses",
    "type": "Portlet",
    "userRated": 6
  }
}