Merge Request #25

Merged
noosfero-themes/angular-theme!25
Created by Carlos Purificação

New item menu

Assignee: Ábner Oliveira
Milestone: 2016.05

Merged by Ábner Oliveira

Source branch has been removed
Commits (2)
3 participants
    5bf9bf341e9d00ebd854cdaf1a4299b2?s=40&d=identicon
    Leandro Santos started a discussion on the diff
    last updated by Leandro Santos
    src/app/article/content-viewer/navbar-actions.html
    8   - <a href="#" role="button" ui-sref="main.cms({profile: vm.profile.identifier, parent_id: vm.parentId, type: 'CommentParagraphPlugin::Discussion'})">
    9   - <i class="fa fa-file fa-fw fa-lg"></i> {{"navbar.content_viewer_actions.new_post" | translate}}
    10   - </a>
    11   - </li>
      2 + <li class="dropdown profile-menu" uib-dropdown>
      3 + <a class="btn dropdown-toggle" data-toggle="dropdown" uib-dropdown-toggle>
      4 + {{"navbar.content_viewer_actions.new_item" | translate}}
      5 + <i class="fa fa-caret-down"></i>
      6 + </a>
      7 + <ul class="dropdown-menu" uib-dropdown-menu ng-show="vm.profile">
      8 + <li ng-show="vm.parentId">
      9 + <a href="#" ui-sref="main.cms({profile: vm.profile.identifier, parent_id: vm.parentId})">
      10 + <i class="fa fa-file fa-fw fa-lg"></i> {{"navbar.content_viewer_actions.new_post" | translate}}
      11 + </a>
      12 + </li>
      13 + <li ng-show="vm.parentId">
    2
    • 5bf9bf341e9d00ebd854cdaf1a4299b2?s=40&d=identicon
      Leandro Santos @leandronunes

      O botão de nova discussão deve aparecer para qualquer caso em todos os contextos somente o botão do 'Novo Post' que deve aparecer somente no contexto do blog

      Choose File ...   File name...
      Cancel
    • 5bf9bf341e9d00ebd854cdaf1a4299b2?s=40&d=identicon
      Leandro Santos @leandronunes

      fazer casos de testes para essa condição também

      Choose File ...   File name...
      Cancel
  • 0deafa1501ec8dd687ee70f90488d592?s=40&d=identicon
    Ábner Oliveira @abner

    Reassigned to @abner

    Choose File ...   File name...
    Cancel
  • 0deafa1501ec8dd687ee70f90488d592?s=40&d=identicon
    Ábner Oliveira @abner

    Added 1 new commit:

    • cd461555 - added profile actions, to show actions on profile page. changed to allways show …
    Choose File ...   File name...
    Cancel
  • 0deafa1501ec8dd687ee70f90488d592?s=40&d=identicon
    Ábner Oliveira @abner
    Choose File ...   File name...
    Cancel