Commit 60db385e authored by Luigi Sanasi's avatar Luigi Sanasi
Browse files

added contents under LF initiatives entities

parent a1e07589
......@@ -1298,6 +1298,7 @@
},
"behaviour": {
"is_login_required": false,
"disable_initiatives": true,
"virtualMarkers": ["LF_INITIATIVES", "IMC_ISSUES"],
"hideTimePicker": ["LF_INITIATIVES", "IMC_ISSUES"]
},
......
......@@ -1085,10 +1085,10 @@ angular.module('firstlife.directives').directive('thingCard', function () {
scope.disableContents = myConfig.behaviour.disable_contents;
scope.disablePosts = !angular.equals(myConfig.behaviour.postIsRating, {});
// scope.disableRatings = angular.equals(myConfig.behaviour.postIsRating, {});
if (scope.virtual) {
scope.disableInitiatives = true;
scope.disableContents = true;
}
// if (scope.virtual) {
// scope.disableInitiatives = true;
// scope.disableContents = true;
// }
var hasRating = false;
for (var key in myConfig.behaviour.postIsRating) {
if (myConfig.behaviour.postIsRating[key].for.includes(scope.marker.entity_type)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment