Course activity display bug

Course activity display bug

le Paul Walker -
Number of replies: 1

Hi,

I've recently upgraded a moodle instance from 2.5 to 2.7 and am seeing some very weird display issues around the course activities (topic format), specifically around the indenting.

When viewing the source, originally activities were laid out like this (nice and neat):

2.5 html code:

<li id="module-484" class="activity resource modtype_resource ">
    <div class="mod-indent mod-indent-1">

     <div class="activityinstance"></div>
        <span class="autocompletion"></span>
        <div class="contentafterlink"></div>
      </div>
</li>


But now in 2.7:

<li id="module-484" class="activity resource modtype_resource ">
<div>
<div class="mod-indent-outer">
    <div class="mod-indent mod-indent-1">
</div>
<div>
        <div class="activityinstance"></div>

        <span class="actions"></span>
        <div class="contentafterlink"></div>
         </div>
      </div>
</div>
</li>
I always account for some change of styles or code in an upgrade, but this just seems straight out buggy to me and makes the upgrade of a clients theme very difficult.

I should add that no core code has been modified in any way.

Does anyone have an idea of whether this is actually correct or am I just making something out of nothing?

Thanks,
Paul
Average of ratings: -
In reply to Paul Walker

Re: Course activity display bug

le Gareth J Barnard -
Dealbh dhe Core developers Dealbh dhe Particularly helpful Moodlers Dealbh dhe Plugin developers

Its probably correct as that code I think is generated by the module itself and not the course format or course code.