<h2><em>{$i.masterdatamanagement_maintenance}</em> - {$i.masterdatamanagement_system_modification_log_view}

    <span class="dialog_make_text_btn ui-corner-all" onclick="$(this).hide(); masterdatamanagement.view('system_modification_log_view');">
        <span class="dialog_make_btn16 update ui-corner-all"></span>
        {$i.basic_update}
    </span>
 </h2>

<div class="story">
    {foreach from=$system_modifications_log_data name="list" item="row"}
        {if $smarty.foreach.list.first}
            <table class="editablepop" style="overflow: hidden;">  
            <thead>
            {foreach from=$row key="key" item="value"}
                <th scope="col" class="rota" style="text-align: left"><span>{$key}</span></th>
            {/foreach} 
            </thead>
            <tbody>
        {/if}
        <tr>
            {foreach from=$row key="key" item="value"}
                <td style="white-space: nowrap;">
                    {if isset($last_row) && isset($last_row->$key) && $last_row->$key == $value}
                        -
                    {else}
                        {if $value === '0' || $value === '1'}
                            {boolview value=$value}
                        {else}
                            {$value}
                        {/if}
                    {/if}    
                </td>
            {/foreach}
        </tr>
        {$last_row = $row}
        {if $smarty.foreach.list.last}
            </tbody>   
            </table>   
        {/if}
    {foreachelse}
        <p>
            {$i.basic_no_result1}
        </p>
    {/foreach}
</div>
