<?xml version="1.0" encoding="UTF-8"?>
<!--
 This file is part of the Meeds project (https://meeds.io/).

 Copyright (C) 2020 - 2025 Meeds Association contact@meeds.io

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 3 of the License, or (at your option) any later version.
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General Public License
 along with this program; if not, write to the Free Software Foundation,
 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-->
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
             version="2.0"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd">


  <portlet>
    <portlet-name>tasks</portlet-name>
    <portlet-class>io.meeds.task.portlet.TasksPortlet</portlet-class>
    <init-param>
      <name>portlet-view-dispatched-file-path</name>
      <value>/tasks.jsp</value>
    </init-param>
    <init-param>
      <description>List of profiles that can be used to enable this portlet</description>
      <name>exo.profiles</name>
      <value>task</value>
    </init-param>
    <supports>
      <mime-type>text/html</mime-type>
    </supports>
    <portlet-info>
      <title>Tasks</title>
    </portlet-info>
    <portlet-preferences>
      <preference>
        <name>settings</name>
        <value>
          {
            "seeAllUrl":null,
            "sameTab":true
          }
        </value>
      </preference>
    </portlet-preferences>
  </portlet>

  <portlet>
    <portlet-name>TasksManagement</portlet-name>
    <portlet-class>org.exoplatform.commons.api.portlet.GenericDispatchedViewPortlet</portlet-class>
    <init-param>
      <name>portlet-view-dispatched-file-path</name>
      <value>/html/tasksManagement.html</value>
    </init-param>
    <init-param>
      <name>layout-css-class</name>
      <value>no-layout-background-color no-layout-border-radius no-layout-border</value>
    </init-param>
    <supports>
      <mime-type>text/html</mime-type>
    </supports>
    <supported-locale>en</supported-locale>
    <resource-bundle>locale.portlet.taskManagement</resource-bundle>
    <portlet-info>
      <title>Task Management</title>
    </portlet-info>
  </portlet>
  <portlet>
    <portlet-name>RestrictedProject</portlet-name>
    <portlet-class>org.exoplatform.commons.api.portlet.GenericDispatchedViewPortlet</portlet-class>
    <init-param>
      <name>portlet-view-dispatched-file-path</name>
      <value>/html/restrictedProject.html</value>
    </init-param>
    <init-param>
      <name>layout-css-class</name>
      <value>no-layout-background-color no-layout-border-radius no-layout-border</value>
    </init-param>
    <supports>
      <mime-type>text/html</mime-type>
    </supports>
    <supported-locale>en</supported-locale>
    <resource-bundle>locale.portlet.restrictedProject</resource-bundle>
    <portlet-info>
      <title>Restricted Project</title>
    </portlet-info>
  </portlet>

</portlet-app>