Skip to content

Commit

Permalink
chore(viewmodels): delete agency links
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Jul 12, 2023
1 parent 11a390c commit caeb72b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions benefits/core/viewmodels.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ def __init__(self, **kwargs):
self.target = kwargs.get("target")
self.rel = kwargs.get("rel")

@staticmethod
def agency_contact_links(agency):
"""Create link buttons for agency contact information."""
return [
Button.link(label=agency.long_name, text=agency.phone, url=f"tel:{agency.phone}"),
Button.link(text=agency.info_url, url=agency.info_url, target="_blank", rel="noopener noreferrer"),
]

@staticmethod
def home(request, text=None):
"""Create a button back to this session's origin."""
Expand Down Expand Up @@ -231,8 +223,6 @@ def __init__(self, model):
self.long_name = model.long_name
self.agency_id = model.agency_id
self.merchant_id = model.merchant_id
self.info_url = model.info_url
self.phone = model.phone
self.eligibility_index_url = model.eligibility_index_url

def context_dict(self):
Expand Down

0 comments on commit caeb72b

Please sign in to comment.