Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 774 by Pjohans: Show creator and materialtype on loans-list #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pjohans
Copy link

@pjohans pjohans commented Aug 18, 2015

No description provided.

@pjohans
Copy link
Author

pjohans commented Aug 18, 2015

this pull request is connected to
ding2/ding_base#16

@@ -126,10 +126,30 @@ function ding_loan_loans_form($form, &$form_state, $account, $loans = array()) {
$title = l($entity->getTitle(), $uri['path']);
}

// Add creator(s).
$creators = $entity->creators;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code seams to be the same as in https://github.com/ding2/ding_reservation/pull/10/files would it be possible to move this to an utility function or maybe into an pre-process in ding_base? As the information in both places is used by "material_item" theme function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants