Revision 1414:07444815c0bd plugins/redmine_bibliography
| plugins/redmine_bibliography/app/models/author.rb | ||
|---|---|---|
| 25 | 25 |
self.authorships.first.institution |
| 26 | 26 |
end |
| 27 | 27 |
end |
| 28 |
|
|
| 29 |
def mail |
|
| 30 |
if self.authorships.first.nil? |
|
| 31 |
"" |
|
| 32 |
else |
|
| 33 |
self.authorships.first.mail |
|
| 34 |
end |
|
| 35 |
end |
|
| 36 |
|
|
| 28 | 37 |
end |
Also available in: Unified diff