Commit 9d4668bf authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-2345 Revert id attribute to events for events block of home page,...

ISTWCMS-2345 Revert id attribute to events for events block of home page, otherwise cannot work correctly when both news and event
parent 7e39a743
......@@ -51,14 +51,14 @@ if ($current_theme == 'uw_fdsu_theme_resp') {
$class_current = 'block_current';
$class_tab_link = 'tab-link';
$attrib_block_tab = 'data-block-tab="event"';
$id_event = 'event_' . $block_id;
$id_event = 'event';
$class_item_class = 'item-class';
}
?>
<div id="<?php print $block_html_id; ?>" class="block-events block-list"<?php print $attributes; ?>>
<?php if ($block->info): ?>
<?php print render($title_prefix); ?>
<h2 class="<?php print $class_tab_link; ?>" <?php print $attrib_block_tab; ?><?php print $title_attributes; ?>><?php print $block->info ?></h2>
<h2 class="<?php print $class_tab_link; ?>" <?php print $attrib_block_tab; ?><?php print $title_attributes; ?>><?php print $block->subject ?></h2>
<?php print render($title_suffix); ?>
<?php endif;?>
<div id="<?php print $id_event; ?>" class="<?php print $class_item_class; ?>"><?php print $content ?></div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment