Skip to content

Commit

Permalink
Show field_creator instead of Drupal author (#77)
Browse files Browse the repository at this point in the history
* Show field_creator instead of Drupal author

* Remove console log

* Stop Mirador code splitting. Fix Drupal quick-edit JS errors. Center Mirador loading spinner.
  • Loading branch information
jabrah committed Nov 16, 2021
1 parent 5e577cc commit 0c32304
Show file tree
Hide file tree
Showing 14 changed files with 85 additions and 89 deletions.
2 changes: 1 addition & 1 deletion js/packages/glimmer-idc/dist/app.bundle.js

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions js/packages/glimmer-idc/src/components/list-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,10 @@ export default class ListItem extends Component<Args> {
<li>
<h3 class="text-xl mb-2 line-clamp-1">{{@listItem.title}}</h3>
</li>
{{#if @listItem.uid}}
{{#if @listItem.field_creator}}
<li>
<div class="">
<span class="italic">Author:&nbsp;</span>
<span>{{{@listItem.uid}}}</span>
<div>
<span class="line-clamp-1">{{{@listItem.field_creator}}}</span>
</div>
</li>
{{/if}}
Expand Down
1 change: 0 additions & 1 deletion js/packages/mirador/dist/149.js

This file was deleted.

1 change: 0 additions & 1 deletion js/packages/mirador/dist/348.js

This file was deleted.

Loading

0 comments on commit 0c32304

Please sign in to comment.