{{#uc_each themes}}
<div class="row update-item updates-theme-update updates-update" data-entity="theme" data-name="{{#if name}}{{name}}{{else}}{{update.theme}}{{/if}}" data-website_id="{{../website_id}}" data-website="{{../website}}" data-installed_version="{{version}}" data-new_version="{{update.new_version}}" data-theme="{{update.theme}}" data-theme-info="{{as_json}}"{{#isdefined compatible}} data-compatible="{{compatible}}" {{#ifneq compatible true}}style="display:none;"{{/ifneq}}{{else}} data-outdated="true"{{/isdefined}}>
	<div class="col-md-1 col-sm-1 col-2 chk-col">
        {{#isdefined compatible}}
            {{#ifeq compatible true}}
                <input type="checkbox" name="uc_updates_check_item" value="1" {{ifempty update.theme 'disabled data-unavailable="1"'}} />
            {{/ifeq}}
        {{else}}
            <input type="checkbox" name="uc_updates_check_item" value="1" {{ifempty update.theme 'disabled data-unavailable="1"'}} />
        {{/isdefined}}
	</div>
	<div class="col-md-11 col-sm-11 col-10">
        <div class="row">
            <div class="col-md-5 col-sm-10 col-10">
                <span class="theme-name">
                    <div class="row_data themes"><span class="label label-info badge text-bg-info">{{udclion.updates.theme}}</span> <a href="{{update.url}}">{{name}}</a> {{#if version}}({{version}}){{/if}}
                    {{#isdefined compatible}}
                        {{#ifeq compatible false}}
                            {{#if compatible_message}}
                                <div class="notice notice-warning notice-alt uc-wp-not-compatible"><p>{{compatible_message}}</p></div>
                            {{/if}}
                        {{/ifeq}}
                    {{/isdefined}}
                    </div>
                    <div class="hidden-md-up d-md-none">
                        <div class="website-upgrade-to">{{udclion.updates.update_to}} {{update.new_version}}</div>
                    </div>
					{{#unless update.theme}}
					<div class="update-unavailable">
						{{udclion.updates.update_unavailable}}
					</div>
					{{/unless}}
                </span>
            </div>
            <div class="col-md-3 text-md-left hidden-sm-down d-none d-md-block">
                <span class="theme-version">{{udclion.updates.update_to}} {{update.new_version}}</span>
            </div>
            <div class="col-md-3 text-md-right hidden-sm-down d-none d-md-block">
                <span class="theme-website">{{../website}}</span>
                {{#if ../last_fetched}}
                    <div class="mass-updates-lastfetched-label">{{udclion.updates.last_fetched}}: <span class="updates-lastfetched-hour">{{../last_fetched}}</span></div>
                {{/if}}
            </div>
            <div class="col-md-1 col-sm-2 col-2 text-left text-md-right remove-pad-right">
                <button type="button" class="btn btn-sm btn-secondary update-info" title="{{udclion.updates.update_info}}">
                    <span class="dashicons dashicons-info">	</span>
                </button>
            </div>
        </div>
	</div>
</div>
{{/uc_each}}
