Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-15049

Move Dashboard buttons as Actions

    XMLWordPrintable

    Details

      Description

      Actions on dashboard layouts are currently hard coded like that:

      <h:form id="openSocialActionsForm">
      	<li><a class="button"
      		onclick="nuxeo.openSocial.container.openContainerBuilder();"
      		id="openContainerBuilder"
      		title="#{messages['label.opensocial.container.change.layout']}">#{messages['label.opensocial.container.change.layout']}</a>
      	</li>
      	<li><a class="button" id="addGadgetButton"
      		href="#{baseURL}site/gadgets?language=#{localeSelector.language}">#{messages['label.opensocial.container.add.gadget']}</a>
      	</li>
      	<li><h:commandLink styleClass="button"
      			id="restoreToDefault"
      			action="#{userDashboardActions.removeUserDashboard()}"
      			immediate="true" onclick="return confirmRestoreDashboard();">
      			<h:outputText
      				value="#{messages['label.opensocial.container.restore.default']}" />
      		</h:commandLink></li>
      </h:form>
      

      We would like to let the possibility to override these actions.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: