block.hbs
4 years ago
index.php
3 years ago
settings.hbs
4 years ago
settingsDisplayOptions.hbs
1 year ago
settingsSelection.hbs
4 years ago
settingsSelectionEmpty.hbs
4 years ago
settingsSinglePost.hbs
4 years ago
widget.hbs
4 years ago
settingsDisplayOptions.hbs
265 lines
| 1 | <div class="mailpoet_form_field"> |
| 2 | <div class="mailpoet_form_field_radio_option"> |
| 3 | <label> |
| 4 | <input type="radio" name="mailpoet_posts_display_type" class="mailpoet_posts_display_type" value="excerpt" {{#ifCond model.displayType '==' 'excerpt'}}CHECKED{{/ifCond}}/> |
| 5 | <%= __('Excerpt') %> |
| 6 | </label> |
| 7 | </div> |
| 8 | <div class="mailpoet_form_field_radio_option"> |
| 9 | <label> |
| 10 | <input type="radio" name="mailpoet_posts_display_type" class="mailpoet_posts_display_type" value="full" {{#ifCond model.displayType '==' 'full'}}CHECKED{{/ifCond}}/> |
| 11 | <%= __('Full post') %> |
| 12 | </label> |
| 13 | </div> |
| 14 | <div class="mailpoet_form_field_radio_option"> |
| 15 | <label> |
| 16 | <input type="radio" name="mailpoet_posts_display_type" class="mailpoet_posts_display_type" value="titleOnly" {{#ifCond model.displayType '==' 'titleOnly'}}CHECKED{{/ifCond}} /> |
| 17 | <%= __('Title only') %> |
| 18 | </label> |
| 19 | </div> |
| 20 | </div> |
| 21 | |
| 22 | <hr class="mailpoet_separator" /> |
| 23 | |
| 24 | <div class="mailpoet_form_field"> |
| 25 | <div class="mailpoet_form_field_title"><%= __('Title Format') %></div> |
| 26 | <div class="mailpoet_form_field_radio_option"> |
| 27 | <label> |
| 28 | <input type="radio" name="mailpoet_posts_title_format" class="mailpoet_posts_title_format" value="h1" {{#ifCond model.titleFormat '==' 'h1'}}CHECKED{{/ifCond}}/> |
| 29 | <%= __('Heading 1') %> |
| 30 | </label> |
| 31 | </div> |
| 32 | <div class="mailpoet_form_field_radio_option"> |
| 33 | <label> |
| 34 | <input type="radio" name="mailpoet_posts_title_format" class="mailpoet_posts_title_format" value="h2" {{#ifCond model.titleFormat '==' 'h2'}}CHECKED{{/ifCond}}/> |
| 35 | <%= __('Heading 2') %> |
| 36 | </label> |
| 37 | </div> |
| 38 | <div class="mailpoet_form_field_radio_option"> |
| 39 | <label> |
| 40 | <input type="radio" name="mailpoet_posts_title_format" class="mailpoet_posts_title_format" value="h3" {{#ifCond model.titleFormat '==' 'h3'}}CHECKED{{/ifCond}}/> |
| 41 | <%= __('Heading 3') %> |
| 42 | </label> |
| 43 | </div> |
| 44 | <div class="mailpoet_form_field_radio_option mailpoet_posts_title_as_list {{#ifCond model.displayType '!=' 'titleOnly'}}mailpoet_hidden{{/ifCond}}"> |
| 45 | <label> |
| 46 | <input type="radio" name="mailpoet_posts_title_format" class="mailpoet_posts_title_format" value="ul" {{#ifCond model.titleFormat '==' 'ul'}}CHECKED{{/ifCond}}/> |
| 47 | <%= __('Show as list') %> |
| 48 | </label> |
| 49 | </div> |
| 50 | </div> |
| 51 | |
| 52 | <div class="mailpoet_form_field"> |
| 53 | <div class="mailpoet_form_field_title"><%= __('Title Alignment') %></div> |
| 54 | <div class="mailpoet_form_field_radio_option"> |
| 55 | <label> |
| 56 | <input type="radio" name="mailpoet_posts_title_alignment" class="mailpoet_posts_title_alignment" value="left" {{#ifCond model.titleAlignment '==' 'left'}}CHECKED{{/ifCond}} /> |
| 57 | <%= __('Left') %> |
| 58 | </label> |
| 59 | </div> |
| 60 | <div class="mailpoet_form_field_radio_option"> |
| 61 | <label> |
| 62 | <input type="radio" name="mailpoet_posts_title_alignment" class="mailpoet_posts_title_alignment" value="center" {{#ifCond model.titleAlignment '==' 'center'}}CHECKED{{/ifCond}} /> |
| 63 | <%= __('Center') %> |
| 64 | </label> |
| 65 | </div> |
| 66 | <div class="mailpoet_form_field_radio_option"> |
| 67 | <label> |
| 68 | <input type="radio" name="mailpoet_posts_title_alignment" class="mailpoet_posts_title_alignment" value="right" {{#ifCond model.titleAlignment '==' 'right'}}CHECKED{{/ifCond}} /> |
| 69 | <%= __('Right') %> |
| 70 | </label> |
| 71 | </div> |
| 72 | </div> |
| 73 | |
| 74 | <div class="mailpoet_form_field mailpoet_posts_title_as_link {{#ifCond model.titleFormat '===' 'ul'}}mailpoet_hidden{{/ifCond}}"> |
| 75 | <div class="mailpoet_form_field_title"><%= __('Make the post title into a link') %></div> |
| 76 | <div class="mailpoet_form_field_radio_option"> |
| 77 | <label> |
| 78 | <input type="radio" name="mailpoet_posts_title_as_links" class="mailpoet_posts_title_as_links" value="true" {{#if model.titleIsLink}}CHECKED{{/if}}/> |
| 79 | <%= __('Yes') %> |
| 80 | </label> |
| 81 | </div> |
| 82 | <div class="mailpoet_form_field_radio_option"> |
| 83 | <label> |
| 84 | <input type="radio" name="mailpoet_posts_title_as_links" class="mailpoet_posts_title_as_links" value="false" {{#unless model.titleIsLink}}CHECKED{{/unless}}/> |
| 85 | <%= __('No') %> |
| 86 | </label> |
| 87 | </div> |
| 88 | </div> |
| 89 | |
| 90 | <hr class="mailpoet_separator mailpoet_automated_latest_content_title_position_separator {{#ifCond model.displayType '===' 'titleOnly'}}mailpoet_hidden{{/ifCond}}" /> |
| 91 | |
| 92 | <div class="mailpoet_form_field mailpoet_automated_latest_content_title_position {{#ifCond model.displayType '===' 'titleOnly'}}mailpoet_hidden{{/ifCond}}"> |
| 93 | <div class="mailpoet_form_field_title"><%= _x('Title position', 'Setting in the email designer to position the blog post title') %></div> |
| 94 | <div class="mailpoet_form_field_radio_option"> |
| 95 | <label> |
| 96 | <input type="radio" name="mailpoet_automated_latest_content_title_position" class="mailpoet_automated_latest_content_title_position" value="abovePost" {{#ifCond model.titlePosition '!=' 'aboveExcerpt'}}CHECKED{{/ifCond}}/> |
| 97 | <%= _x('Above the post', 'Display the post title above the post block') %> |
| 98 | </label> |
| 99 | </div> |
| 100 | <div class="mailpoet_form_field_radio_option"> |
| 101 | <label> |
| 102 | <input type="radio" name="mailpoet_automated_latest_content_title_position" class="mailpoet_automated_latest_content_title_position" value="aboveExcerpt" {{#ifCond model.titlePosition '==' 'aboveExcerpt'}}CHECKED{{/ifCond}}/> |
| 103 | <%= _x('Above the excerpt text', 'Display the post title above the post excerpt') %> |
| 104 | </label> |
| 105 | </div> |
| 106 | </div> |
| 107 | |
| 108 | <hr class="mailpoet_separator mailpoet_posts_image_separator {{#ifCond model.displayType '===' 'titleOnly'}}mailpoet_hidden{{/ifCond}}" /> |
| 109 | |
| 110 | <div class="mailpoet_posts_non_title_list_options {{#ifCond model.displayType '==' 'titleOnly'}}{{#ifCond model.titleFormat '==' 'ul'}}mailpoet_hidden{{/ifCond}}{{/ifCond}}"> |
| 111 | |
| 112 | <div class="mailpoet_form_field mailpoet_posts_featured_image_position_container {{#ifCond model.displayType '===' 'titleOnly'}}mailpoet_hidden{{/ifCond}}"> |
| 113 | <div class="mailpoet_form_field_title"><%= __('Featured image position') %></div> |
| 114 | <div class="mailpoet_form_field_radio_option"> |
| 115 | <label> |
| 116 | <input type="radio" name="mailpoet_posts_featured_image_position" class="mailpoet_posts_featured_image_position" value="centered" {{#ifCond _featuredImagePosition '==' 'centered' }}CHECKED{{/ifCond}}/> |
| 117 | <%= __('Centered') %> |
| 118 | </label> |
| 119 | </div> |
| 120 | <div class="mailpoet_form_field_radio_option"> |
| 121 | <label> |
| 122 | <input type="radio" name="mailpoet_posts_featured_image_position" class="mailpoet_posts_featured_image_position" value="left" {{#ifCond _featuredImagePosition '==' 'left' }}CHECKED{{/ifCond}}/> |
| 123 | <%= __('Left') %> |
| 124 | </label> |
| 125 | </div> |
| 126 | <div class="mailpoet_form_field_radio_option"> |
| 127 | <label> |
| 128 | <input type="radio" name="mailpoet_posts_featured_image_position" class="mailpoet_posts_featured_image_position" value="right" {{#ifCond _featuredImagePosition '==' 'right' }}CHECKED{{/ifCond}}/> |
| 129 | <%= __('Right') %> |
| 130 | </label> |
| 131 | </div> |
| 132 | <div class="mailpoet_form_field_radio_option"> |
| 133 | <label> |
| 134 | <input type="radio" name="mailpoet_posts_featured_image_position" class="mailpoet_posts_featured_image_position" value="alternate" {{#ifCond _featuredImagePosition '==' 'alternate' }}CHECKED{{/ifCond}}/> |
| 135 | <%= __('Alternate') %> |
| 136 | </label> |
| 137 | </div> |
| 138 | <div class="mailpoet_form_field_radio_option"> |
| 139 | <label> |
| 140 | <input type="radio" name="mailpoet_posts_featured_image_position" class="mailpoet_posts_featured_image_position" value="none" {{#ifCond _featuredImagePosition '==' 'none' }}CHECKED{{/ifCond}}/> |
| 141 | <%= __('None') %> |
| 142 | </label> |
| 143 | </div> |
| 144 | </div> |
| 145 | |
| 146 | <div class="mailpoet_form_field mailpoet_posts_image_full_width_option {{#ifCond model.displayType '==' 'titleOnly'}}mailpoet_hidden{{/ifCond}}"> |
| 147 | <div class="mailpoet_form_field_title"><%= __('Image width') %></div> |
| 148 | <div class="mailpoet_form_field_radio_option"> |
| 149 | <label> |
| 150 | <input type="radio" name="imageFullWidth" class="mailpoet_posts_image_full_width" value="true" {{#if model.imageFullWidth}}CHECKED{{/if}}/> |
| 151 | <%= __('Full width') %> |
| 152 | </label> |
| 153 | </div> |
| 154 | <div class="mailpoet_form_field_radio_option"> |
| 155 | <label> |
| 156 | <input type="radio" name="imageFullWidth" class="mailpoet_posts_image_full_width" value="false" {{#unless model.imageFullWidth}}CHECKED{{/unless}}/> |
| 157 | <%= __('Padded') %> |
| 158 | </label> |
| 159 | </div> |
| 160 | </div> |
| 161 | |
| 162 | <hr class="mailpoet_separator" /> |
| 163 | |
| 164 | <div class="mailpoet_form_field"> |
| 165 | <div class="mailpoet_form_field_title"><%= __('Show author') %></div> |
| 166 | <div class="mailpoet_form_field_radio_option"> |
| 167 | <label> |
| 168 | <input type="radio" name="mailpoet_posts_show_author" class="mailpoet_posts_show_author" value="no" {{#ifCond model.showAuthor '==' 'no'}}CHECKED{{/ifCond}}/> |
| 169 | <%= __('No') %> |
| 170 | </label> |
| 171 | </div> |
| 172 | <div class="mailpoet_form_field_radio_option"> |
| 173 | <label> |
| 174 | <input type="radio" name="mailpoet_posts_show_author" class="mailpoet_posts_show_author" value="aboveText" {{#ifCond model.showAuthor '==' 'aboveText'}}CHECKED{{/ifCond}}/> |
| 175 | <%= __('Above text') %> |
| 176 | </label> |
| 177 | </div> |
| 178 | <div class="mailpoet_form_field_radio_option"> |
| 179 | <label> |
| 180 | <input type="radio" name="mailpoet_posts_show_author" class="mailpoet_posts_show_author" value="belowText" {{#ifCond model.showAuthor '==' 'belowText'}}CHECKED{{/ifCond}}/> |
| 181 | <%= __('Below text') %><br /> |
| 182 | </label> |
| 183 | </div> |
| 184 | <div class="mailpoet_form_field_title"><%= __('Preceded by:') %></div> |
| 185 | <div class="mailpoet_form_field_input_option mailpoet_form_field_block"> |
| 186 | <input type="text" class="mailpoet_input mailpoet_input_full mailpoet_posts_author_preceded_by" value="{{ model.authorPrecededBy }}" /> |
| 187 | </div> |
| 188 | </div> |
| 189 | |
| 190 | <div class="mailpoet_form_field"> |
| 191 | <div class="mailpoet_form_field_title"><%= __('Show categories') %></div> |
| 192 | <div class="mailpoet_form_field_radio_option"> |
| 193 | <label> |
| 194 | <input type="radio" name="mailpoet_posts_show_categories" class="mailpoet_posts_show_categories" value="no" {{#ifCond model.showCategories '==' 'no'}}CHECKED{{/ifCond}}/> |
| 195 | <%= __('No') %> |
| 196 | </label> |
| 197 | </div> |
| 198 | <div class="mailpoet_form_field_radio_option"> |
| 199 | <label> |
| 200 | <input type="radio" name="mailpoet_posts_show_categories" class="mailpoet_posts_show_categories" value="aboveText" {{#ifCond model.showCategories '==' 'aboveText'}}CHECKED{{/ifCond}}/> |
| 201 | <%= __('Above text') %> |
| 202 | </label> |
| 203 | </div> |
| 204 | <div class="mailpoet_form_field_radio_option"> |
| 205 | <label> |
| 206 | <input type="radio" name="mailpoet_posts_show_categories" class="mailpoet_posts_show_categories" value="belowText" {{#ifCond model.showCategories '==' 'belowText'}}CHECKED{{/ifCond}}/> |
| 207 | <%= __('Below text') %> |
| 208 | </label> |
| 209 | </div> |
| 210 | <div class="mailpoet_form_field_title"><%= __('Preceded by:') %></div> |
| 211 | <div class="mailpoet_form_field_input_option mailpoet_form_field_block"> |
| 212 | <input type="text" class="mailpoet_input mailpoet_input_full mailpoet_posts_categories" value="{{ model.categoriesPrecededBy }}" /> |
| 213 | </div> |
| 214 | </div> |
| 215 | |
| 216 | <hr class="mailpoet_separator" /> |
| 217 | |
| 218 | <div class="mailpoet_form_field"> |
| 219 | <div class="mailpoet_form_field_title"><%= __('"Read more" text') %></div> |
| 220 | <div class="mailpoet_form_field_radio_option"> |
| 221 | <label> |
| 222 | <input type="radio" name="mailpoet_posts_read_more_type" class="mailpoet_posts_read_more_type" value="link" {{#ifCond model.readMoreType '==' 'link'}}CHECKED{{/ifCond}}/> |
| 223 | <%= __('Link') %> |
| 224 | </label> |
| 225 | </div> |
| 226 | <div class="mailpoet_form_field_radio_option"> |
| 227 | <label> |
| 228 | <input type="radio" name="mailpoet_posts_read_more_type" class="mailpoet_posts_read_more_type" value="button" {{#ifCond model.readMoreType '==' 'button'}}CHECKED{{/ifCond}}/> |
| 229 | <%= __('Button') %> |
| 230 | </label> |
| 231 | </div> |
| 232 | |
| 233 | <div class="mailpoet_form_field_input_option mailpoet_form_field_block"> |
| 234 | <input type="text" class="mailpoet_input mailpoet_input_full mailpoet_posts_read_more_text {{#ifCond model.readMoreType '!=' 'link'}}mailpoet_hidden{{/ifCond}}" value="{{ model.readMoreText }}" /> |
| 235 | </div> |
| 236 | |
| 237 | <div class="mailpoet_form_field_input_option mailpoet_form_field_block"> |
| 238 | <a href="javascript:;" class="mailpoet_posts_select_button {{#ifCond model.readMoreType '!=' 'button'}}mailpoet_hidden{{/ifCond}}"><%= __('Design a button') %></a> |
| 239 | </div> |
| 240 | </div> |
| 241 | |
| 242 | <hr class="mailpoet_separator" /> |
| 243 | </div> |
| 244 | |
| 245 | <div class="mailpoet_posts_non_title_list_options {{#ifCond model.displayType '==' 'titleOnly'}}{{#ifCond model.titleFormat '==' 'ul'}}mailpoet_hidden{{/ifCond}}{{/ifCond}}"> |
| 246 | <div class="mailpoet_form_field"> |
| 247 | <div class="mailpoet_form_field_title"><%= __('Show divider between posts') %></div> |
| 248 | <div class="mailpoet_form_field_radio_option"> |
| 249 | <label> |
| 250 | <input type="radio" name="mailpoet_posts_show_divider" class="mailpoet_posts_show_divider" value="true" {{#if model.showDivider}}CHECKED{{/if}}/> |
| 251 | <%= __('Yes') %> |
| 252 | </label> |
| 253 | </div> |
| 254 | <div class="mailpoet_form_field_radio_option"> |
| 255 | <label> |
| 256 | <input type="radio" name="mailpoet_posts_show_divider"class="mailpoet_posts_show_divider" value="false" {{#unless model.showDivider}}CHECKED{{/unless}}/> |
| 257 | <%= __('No') %> |
| 258 | </label> |
| 259 | </div> |
| 260 | <div> |
| 261 | <a href="javascript:;" class="mailpoet_posts_select_divider"><%= __('Select divider') %></a> |
| 262 | </div> |
| 263 | </div> |
| 264 | </div> |
| 265 |