Skip to content

Commit

Permalink
Remove link to author from details modal
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodiegoss committed Dec 8, 2024
1 parent 3fa262d commit 8d939e1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/users/jinja2/users/components/elements-modal.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@
{% endblock %}

{% block content %}
<a id="element-author" href="#"></a>
<p id="element-author"></p>
<p id="element-upload-info"></p>
<p id="element-analytics"></p>
<p id="download"> Download file:</p>
<p id="element-download"></p>

<script>
function elementAuthor(author, owner_id){
function elementAuthor(author){
$('#element-author').text({{ _("by ")|tojson }} + author);
$('#element-author').attr("href", "{{ url('profile') }}?user=" + owner_id);
}
function uploadedBy(owner, date){
$('#element-upload-info').replaceWith(
Expand Down

0 comments on commit 8d939e1

Please sign in to comment.