|
@@ 1063-1069 (lines=7) @@
|
| 1060 |
|
if (!$note->canShow()) { |
| 1061 |
|
continue; |
| 1062 |
|
} |
| 1063 |
|
if ($note->isPendingDeletion()) { |
| 1064 |
|
$class = ' class="old"'; |
| 1065 |
|
} elseif ($note->isPendingAddtion()) { |
| 1066 |
|
$class = ' class="new"'; |
| 1067 |
|
} else { |
| 1068 |
|
$class = ''; |
| 1069 |
|
} |
| 1070 |
|
$html .= '<tr' . $class . '>'; |
| 1071 |
|
// Count of linked notes |
| 1072 |
|
$html .= '<td data-sort="' . Html::escape($note->getSortName()) . '"><a class="name2" href="' . $note->getHtmlUrl() . '">' . $note->getFullName() . '</a></td>'; |
|
@@ 1202-1208 (lines=7) @@
|
| 1199 |
|
foreach ($media_objects as $media_object) { |
| 1200 |
|
if ($media_object->canShow()) { |
| 1201 |
|
$name = $media_object->getFullName(); |
| 1202 |
|
if ($media_object->isPendingDeletion()) { |
| 1203 |
|
$class = ' class="old"'; |
| 1204 |
|
} elseif ($media_object->isPendingAddtion()) { |
| 1205 |
|
$class = ' class="new"'; |
| 1206 |
|
} else { |
| 1207 |
|
$class = ''; |
| 1208 |
|
} |
| 1209 |
|
$html .= '<tr' . $class . '>'; |
| 1210 |
|
// Media object thumbnail |
| 1211 |
|
$html .= '<td>'; |