Merge Request #51

Merged
noosfero-themes/angular-theme!51
Created by Tallys Martins

Layout support

Assignee: Caio Almeida
Milestone: None

Merged by Caio Almeida

Commits (1)
2 participants
  • Cae6de821da30189b2573c26aa4ddfa1?s=40&d=identicon
    Tallys Martins @tallysmartins

    Added 1 new commit:

    • 5b000eec - Adds support for setting layout template from api
    Choose File ...   File name...
    Cancel
  • Cae6de821da30189b2573c26aa4ddfa1?s=40&d=identicon
    Tallys Martins started a discussion on the diff
    last updated by Caio Almeida
    src/app/layout/boxes/display-boxes.filter.ts 0 → 100644
      1 +import {Pipe, Inject} from "ng-forward";
      2 +
      3 +@Pipe("displayBoxes")
      4 +export class DisplayBoxes {
      5 +
      6 + transform(boxes: noosfero.Box[], layout: string) {
      7 + let function_str: string = "visible_on" + layout;
    2
    • Cae6de821da30189b2573c26aa4ddfa1?s=40&d=identicon
      Tallys Martins @tallysmartins

      how can I call a function from string?

      Choose File ...   File name...
      Cancel
    • Fcd7708520a028e7cdb9f57fcc5e438e?s=40&d=identicon
      Caio Almeida @caiosba (Edited )

      These are equivalent:

      object.function_name();
      object["function_name"]();
      
      Choose File ...   File name...
      Cancel
  • Cae6de821da30189b2573c26aa4ddfa1?s=40&d=identicon
    Tallys Martins @tallysmartins

    Added 4 new commits:

    • 0e0e1268 - Added skins support when release a BUILD on dist directory
    • a2cd2949 - Remove commented code
    • 965b4c33 - Merge branch 'skin-build-dist' into 'master'
    • 886e0841 - Adds support for setting layout template from api
    Choose File ...   File name...
    Cancel
  • Fcd7708520a028e7cdb9f57fcc5e438e?s=40&d=identicon
    Caio Almeida @caiosba
    Choose File ...   File name...
    Cancel