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

Adding owner column to sub service requests table (1.8.0) #588

Merged
merged 3 commits into from Jul 26, 2016

Conversation

jleonardw9
Copy link
Contributor

No description provided.

@jleonardw9 jleonardw9 changed the title Adding owner column to sub service requests table [#126997121] Adding owner column to sub service requests table [#126997121] 1.8.0 Jul 26, 2016
@jleonardw9 jleonardw9 changed the title Adding owner column to sub service requests table [#126997121] 1.8.0 Adding owner column to sub service requests table (1.8.0) Jul 26, 2016
@@ -199,6 +199,12 @@ def ssr_actions_display(ssr, user, permission_to_edit, admin_orgs)
ssr_admin_button(ssr, user, permission_to_edit, admin_access)
end

def display_owner(ssr)
if ssr.owner_id.present?
Copy link
Collaborator

Choose a reason for hiding this comment

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

belongs_to :owner, class: 'Identity'

ssr.owner.full_name if ssr.owner_id.present?

ssr.owner.try(:full_name)

@amcates amcates merged commit f914016 into master Jul 26, 2016
@amcates amcates deleted the jl-display-request-owner branch July 26, 2016 15:36
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.

None yet

2 participants