# coding=utf-8
from django.conf.urls import patterns, url

urlpatterns = patterns('apps.common.templates',
    # publication preview parts
    url(r'^ajax/template/common/publication-preview/container/$', 'publications_preview.container'),
    url(r'^ajax/template/common/publication-preview/header/$', 'publications_preview.header'),
    url(r'^ajax/template/common/publication-preview/body/$', 'publications_preview.body'),
    url(r'^ajax/template/common/publication-preview/contacts/$', 'publications_preview.contacts'),
    url(r'^ajax/template/common/publication-preview/error/$', 'publications_preview.error'),
    url(r'^ajax/template/common/publication-preview/types/(\d+)/$', 'publications_preview.types'),

    # full screen slider parts
    url(r'^ajax/template/common/full-screen-slider/body/$', 'publications_preview.full_screen_slider_body'),

    # rent calendar templates
    url(r'^ajax/template/common/rent-calendar/view/$', 'rent_calendar.rent_calendar_view'),
    url(r'^ajax/template/common/rent-calendar/body/$', 'rent_calendar.rent_calendar_body'),
)
