
    sgJ                     n    d dl mZ ddl d dlmZ d Zd Zd Zd Zd	 Z	d
 Z
d Zd Zd Zd Zd Zd Zy)    )render   )*)	Paginatorc                 `    ddt         j                  j                         d}t        | d|      S )NzWater, Environment, and PeacezDiscover MEDRC work at the intersection of water, environment, and peace. We provide innovative solutions for freshwater scarcity, climate change, and conflict resolution in the MENA region through research, training, and collaboration.titledescriptioncontentzinfo/index.html)LandingContentobjectsallr   requestcontexts     !/var/www/medrc_site/info/views.pyindexr      s6    0 F!))--/G ',g66    c                 `    ddt         j                  j                         d}t        | d|      S )NzAbout UszExplore how MEDRC addresses global challenges at the intersection of environment and peace, conducting research, training, and peacebuilding to tackle cross-border environmental and climate pressures.r   zinfo/about.html)AboutContentr   r   r   r   s     r   aboutr      s6     b''++-G ',g66r   c                    t         j                  j                         j                  d      }| j                  j                  dd      }|dk(  r|j                  d      }n/|dk(  r|j                  d      }n|d	k(  r|j                  d
      }t        |d      }| j                  j                  d      }|j                  |      }dd|||d}t        | d|      S )Nz-idcategoryAllWaterT)publication_waterEnvironment)publication_environmentPeace)publication_peace   pagePublicationszExplore MEDRC extensive collection of research publications on water scarcity, environmental conflict resolution, desalination technologies, and sustainable development in the MENA region.)r	   r
   r   selected_categorypage_objzinfo/publications.html)
r#   r   r   order_byGETgetfilterr   get_pager   )r   qsr$   	paginatorr"   r%   r   s          r   publicationsr-      s    				!	!	#	,	,U	3B
E:G#YYY.	m	+YYtY4	g	%YYY."a I;;??6"D!!$'H   V.G '3W==r   c                 `    ddt         j                  j                         d}t        | d|      S )Nr   zDiscover MEDRC training and applied research programs, focused on innovative desalination, water reuse, and sustainable solutions to tackle freshwater scarcity in the MENA region.r   zinfo/water.htmlWaterContentr   r   r   r   s     r   waterr1   0   s6     M''++-G ',g66r   c                 `    ddt         j                  j                         d}t        | d|      S )NzApplied ResearchzExplore MEDRC cutting-edge research in reverse osmosis technologies, renewable energy desalination, and environmental impact, supporting innovation across the MENA region.r   z info/water_applied_research.htmlr/   r   s     r   applied_researchr3   9   s6    # E''++-G '=wGGr   c                 `    ddt         j                  j                         d}t        | d|      S )NzTraining & ConsultancyzDiscover MEDRC Water Training Centre, a unique regional facility offering training, research, and consultancy in desalination and wastewater reuse.r   zinfo/water_training.htmlr/   r   s     r   trainingr5   B   s6    ) m''++-G '5w??r   c                 `    ddt         j                  j                         d}t        | d|      S )Nr   zLearn how MEDRC expanded mandate integrates water, energy, and climate issues, fostering research and dialogue on sustainability in the MENA region.r   zinfo/environment.htmlEnvironmentContentr   r   r   r   s     r   environmentr9   K   s6     n%--113G '2G<<r   c                 `    ddt         j                  j                         d}t        | d|      S )NzClimate ChangezExplore how MEDRC supports climate resilience and transboundary dialogue, helping governments with adaptation, mitigation, and conflict-sensitive climate action.r   z$info/environment_climate_change.htmlr7   r   s     r   climate_changer;   T   s6    ! {%--113G 'A7KKr   c                 `    ddt         j                  j                         d}t        | d|      S )Nz	WEF NexuszDiscover MEDRC work on the Water-Energy-Food-Ecosystems Nexus, balancing technical expertise and conflict-sensitive approaches in the MENA region.r   zinfo/environment_WEF_nexus.htmlr7   r   s     r   	WEF_nexusr=   ]   s6     l%--113G '<gFFr   c                 `    ddt         j                  j                         d}t        | d|      S )Nr   zExplore how MEDRC leverages transboundary environmental issues to foster peace, conduct conflict resolution, and enhance international cooperation.r   zinfo/peace.htmlPeaceContentr   r   r   r   s     r   peacerA   f   s6     m''++-G ',g66r   c                 `    ddt         j                  j                         d}t        | d|      S )NHistoryzLearn about MEDRC, a unique multilateral organization from the Middle East Peace Process, dedicated to conflict resolution through diplomacy and cooperation.r   zinfo/peace_history.htmlr?   r   s     r   historyrD   o   s6     w''++-G '4g>>r   c                 `    ddt         j                  j                         d}t        | d|      S )NzMEDRC ModelzDiscover how the MEDRC Conflict Resolution Model leverages environmental cooperation to support peace processes in the Middle East and beyond.r   zinfo/peace_MEDRC_model.htmlr?   r   s     r   MEDRC_modelrF   x   s6     h''++-G '8'BBr   N)django.shortcutsr   modelsdjango.core.paginatorr   r   r   r-   r1   r3   r5   r9   r;   r=   rA   rD   rF    r   r   <module>rK      sO    #  +77>27H@=LG7?Cr   