<?php

/* recurrence.twig */
class __TwigTemplate_dc78b950182efb8f436b144938fb0dc48cf395d7daabe20293234dbcf2b26545 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        if (isset($context["recurrence"])) { $_recurrence_ = $context["recurrence"]; } else { $_recurrence_ = null; }
        if ((!twig_test_empty($_recurrence_))) {
            // line 2
            echo "\t<div class=\"ai1ec-recurrence ai1ec-btn-group\">
\t\t<button class=\"ai1ec-btn ai1ec-btn-default ai1ec-btn-xs
\t\t\tai1ec-tooltip-trigger ai1ec-disabled ai1ec-text-muted\"
\t\t\tdata-html=\"true\"
\t\t\ttitle=\"";
            // line 6
            ob_start();
            // line 7
            echo "\t\t\t\t";
            if (isset($context["recurrence"])) { $_recurrence_ = $context["recurrence"]; } else { $_recurrence_ = null; }
            echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $_recurrence_), "html_attr");
            echo "
\t\t\t\t";
            // line 8
            if (isset($context["exclude"])) { $_exclude_ = $context["exclude"]; } else { $_exclude_ = null; }
            if ((!twig_test_empty($_exclude_))) {
                // line 9
                echo "\t\t\t\t\t";
                if (isset($context["exclude"])) { $_exclude_ = $context["exclude"]; } else { $_exclude_ = null; }
                echo twig_escape_filter($this->env, ((("<div class=\"ai1ec-recurrence-exclude\">" . Ai1ec_I18n::__("Excludes: ")) . $_exclude_) . "</div>"), "html_attr");
                echo "
\t\t\t\t";
            }
            // line 11
            echo "\t\t\t";
            echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
            echo "\">
\t\t\t<i class=\"ai1ec-fa ai1ec-fa-repeat\"></i>
\t\t\t";
            // line 13
            echo twig_escape_filter($this->env, Ai1ec_I18n::__("Repeats"), "html", null, true);
            echo "
\t\t</button>

\t\t";
            // line 16
            if (isset($context["edit_instance_url"])) { $_edit_instance_url_ = $context["edit_instance_url"]; } else { $_edit_instance_url_ = null; }
            if ((!twig_test_empty($_edit_instance_url_))) {
                // line 17
                echo "\t\t\t<a class=\"ai1ec-btn ai1ec-btn-default ai1ec-btn-xs ai1ec-tooltip-trigger
\t\t\t\tai1ec-text-muted\"
\t\t\t\ttitle=\"";
                // line 19
                if (isset($context["edit_instance_text"])) { $_edit_instance_text_ = $context["edit_instance_text"]; } else { $_edit_instance_text_ = null; }
                echo twig_escape_filter($this->env, $_edit_instance_text_, "html_attr");
                echo "\"
\t\t\t\thref=\"";
                // line 20
                if (isset($context["edit_instance_url"])) { $_edit_instance_url_ = $context["edit_instance_url"]; } else { $_edit_instance_url_ = null; }
                echo twig_escape_filter($this->env, $_edit_instance_url_, "html", null, true);
                echo "\">
\t\t\t\t<i class=\"ai1ec-fa ai1ec-fa-pencil\"></i>
\t\t\t</a>
\t\t";
            }
            // line 24
            echo "\t</div>
";
        }
    }

    public function getTemplateName()
    {
        return "recurrence.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  78 => 24,  70 => 20,  65 => 19,  61 => 17,  58 => 16,  46 => 11,  39 => 9,  36 => 8,  30 => 7,  28 => 6,  386 => 134,  381 => 131,  377 => 127,  373 => 126,  370 => 125,  367 => 124,  364 => 122,  362 => 121,  359 => 119,  356 => 118,  353 => 117,  345 => 113,  340 => 112,  334 => 110,  328 => 108,  325 => 107,  322 => 106,  319 => 105,  311 => 101,  306 => 100,  300 => 98,  294 => 96,  291 => 95,  288 => 94,  285 => 93,  275 => 90,  267 => 89,  264 => 88,  261 => 87,  258 => 86,  248 => 82,  243 => 81,  235 => 80,  232 => 79,  228 => 78,  225 => 77,  217 => 73,  212 => 72,  204 => 71,  201 => 70,  198 => 69,  191 => 66,  186 => 65,  183 => 64,  180 => 63,  171 => 61,  168 => 60,  165 => 59,  160 => 58,  155 => 57,  147 => 56,  143 => 54,  135 => 50,  131 => 48,  128 => 47,  125 => 46,  121 => 44,  118 => 43,  115 => 42,  112 => 41,  108 => 39,  101 => 37,  98 => 36,  94 => 34,  91 => 33,  84 => 27,  80 => 26,  72 => 22,  64 => 18,  56 => 15,  53 => 14,  45 => 10,  32 => 4,  27 => 3,  52 => 13,  49 => 11,  41 => 7,  34 => 5,  31 => 4,  25 => 3,  22 => 2,  19 => 1,);
    }
}
