-
Notifications
You must be signed in to change notification settings - Fork 27
MUMMNG-2017: Make list-of-links widget type, LOL #346
Conversation
@@ -4,6 +4,9 @@ define(['angular'], function(angular){ | |||
|
|||
var app = angular.module('my-app.layout.widget.controllers', []); | |||
|
|||
app.controller('ListOfLinksController', ['$scope', 'layoutService', function($scope, layoutService){ | |||
}]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if there is nothing to do in the controller, you don't need one true? (directives don't have to have a controller connected to them)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. Kind of put it in there as a placeholder but we could definitely take it out til it's necessary.
@@ -80,4 +80,8 @@ weather { | |||
.scroll-widget { | |||
max-height: 210px; | |||
overflow-y: scroll; | |||
} | |||
.lol .v-center { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯 for namespacing
This is huge! 👍 Strong work. |
👍 Hurray for templates. This is how we will scale and make maintenance affordable. |
👍 looks great, plus 7 means no scrolling woo hoo |
MUMMNG-2017: Make list-of-links widget type, LOL
Adds a list-of-links widget type to /web. This widget just displays a grid of four links using the circle link directive. The information about these links (href, title, target, icon) are provided by the
widgetConfig
. Entity file changes for other list-of-link widgets coming soon.