Línea 266... |
Línea 266... |
266 |
<h3><?php echo $category ?></h3>
|
266 |
<h3><?php echo $category ?></h3>
|
267 |
<h2><?php echo $title ?></h2>
|
267 |
<h2><?php echo $title ?></h2>
|
268 |
<p><?php echo $description ?></p>
|
268 |
<p><?php echo $description ?></p>
|
269 |
<div class="knowledge-record-card-actions">
|
269 |
<div class="knowledge-record-card-actions">
|
270 |
<div class="position-relative" style="width: fit-content; flex: 1; display: flex;" id="reaction-container">
|
270 |
<div class="position-relative" style="width: fit-content; flex: 1; display: flex;" id="reaction-container">
|
271 |
<button class="btn reaction-btn" style="flex: 1;" id="currentReaction"></button>
|
271 |
<button class="btn reaction-btn" id="currentReaction"></button>
|
272 |
<div class="reactions">
|
272 |
<div class="reactions">
|
273 |
<button class="btn-save-reaction" data-reaction="<?php echo ContentReaction::REACTION_RECOMMENDED ?>" title="Me gusta">
|
273 |
<button class="btn-save-reaction" data-reaction="<?php echo ContentReaction::REACTION_RECOMMENDED ?>" title="Me gusta">
|
274 |
<svg class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-vubbuv" focusable="false" aria-hidden="true" viewBox="0 0 24 24" data-testid="RecommendIcon" style="color: rgb(116, 5, 249);">
|
274 |
<svg class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-vubbuv" focusable="false" aria-hidden="true" viewBox="0 0 24 24" data-testid="RecommendIcon" style="color: rgb(116, 5, 249);">
|
275 |
<path d="M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm6 9.8a.9.9 0 0 1-.1.5l-2.1 4.9a1.34 1.34 0 0 1-1.3.8H9a2 2 0 0 1-2-2v-5a1.28 1.28 0 0 1 .4-1L12 5l.69.69a1.08 1.08 0 0 1 .3.7v.2L12.41 10H17a1 1 0 0 1 1 1z"></path>
|
275 |
<path d="M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm6 9.8a.9.9 0 0 1-.1.5l-2.1 4.9a1.34 1.34 0 0 1-1.3.8H9a2 2 0 0 1-2-2v-5a1.28 1.28 0 0 1 .4-1L12 5l.69.69a1.08 1.08 0 0 1 .3.7v.2L12.41 10H17a1 1 0 0 1 1 1z"></path>
|
276 |
</svg>
|
276 |
</svg>
|
Línea 297... |
Línea 297... |
297 |
</svg>
|
297 |
</svg>
|
298 |
</button>
|
298 |
</button>
|
299 |
</div>
|
299 |
</div>
|
300 |
</div>
|
300 |
</div>
|
301 |
<?php if ($attachment) : ?>
|
301 |
<?php if ($attachment) : ?>
|
- |
|
302 |
<a href="<?php echo $attachment ?>" target="_blank" style="flex: 1;">
|
302 |
<button class="btn reaction-btn" style="flex: 1;">
|
303 |
<button class="btn reaction-btn">
|
303 |
<svg class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-vubbuv" focusable="false" aria-hidden="true" viewBox="0 0 24 24" data-testid="DownloadForOfflineIcon" style="color: gray;">
|
304 |
<svg class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-vubbuv" focusable="false" aria-hidden="true" viewBox="0 0 24 24" data-testid="DownloadForOfflineIcon" style="color: gray;">
|
304 |
<path d="M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm-1 8V6h2v4h3l-4 4-4-4h3zm6 7H7v-2h10v2z"></path>
|
305 |
<path d="M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm-1 8V6h2v4h3l-4 4-4-4h3zm6 7H7v-2h10v2z"></path>
|
305 |
</svg>
|
306 |
</svg>
|
306 |
<a href="<?php echo $attachment ?>" target="_blank">LABEL_KNOWLEDGE_AREA_DOWNLOAD_ATTACHMENT </a>
|
307 |
LABEL_KNOWLEDGE_AREA_DOWNLOAD_ATTACHMENT
|
307 |
</button>
|
308 |
</button>
|
- |
|
309 |
</a>
|
308 |
<?php endif; ?>
|
310 |
<?php endif; ?>
|
309 |
<?php if ($link) : ?>
|
311 |
<?php if ($link) : ?>
|
- |
|
312 |
<a href="<?php echo $link ?>" target="_blank" style="flex: 1;">
|
310 |
<button class="btn reaction-btn" style="flex: 1;">
|
313 |
<button class="btn reaction-btn">
|
311 |
<a href="<?php echo $link ?>" target="_blank"> LABEL_KNOWLEDGE_AREA_GO_TO_LINK </a>
|
314 |
LABEL_KNOWLEDGE_AREA_GO_TO_LINK
|
312 |
</button>
|
315 |
</button>
|
- |
|
316 |
</a>
|
313 |
<?php endif; ?>
|
317 |
<?php endif; ?>
|
314 |
</div>
|
318 |
</div>
|
315 |
<div class="comments-container show px-3">
|
319 |
<div class="comments-container show px-3">
|
316 |
<form class="feedCommentContainer" id="form-comment" class="form-comment">
|
320 |
<form class="feedCommentContainer" id="form-comment" class="form-comment">
|
317 |
<input class="commentInput" type="text" name="comment" id="comment" placeholder="LABEL_WRITE_A_COMMENT">
|
321 |
<input class="commentInput" type="text" name="comment" id="comment" placeholder="LABEL_WRITE_A_COMMENT">
|