Skip to content

Commit

Permalink
GH-93: StaticArticleList: + footer_link_url TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar committed Jun 23, 2021
1 parent c266eec commit 3bf3ff8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class TaccsiteArticleListPlugin(CMSPluginBase):
'fields': (
'header_title_text',
'footer_link_text',
# TODO: Add `footer_link_url`
)
}),
(_('Options'), {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class TaccsiteArticleList(CMSPlugin):
blank=True,
max_length=100,
)
# TODO: Add `footer_link_url`

content_type = models.CharField(
choices=CONTENT_CHOICES,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ <h2 class="c-article-list__title">
{% render_plugin plugin_instance %}
{% endfor %}
<footer class="c-article-list__footer">
{# TODO: Add `footer_link_url` support in `href` #}
<a class="c-article-list__link" href="/more">
<i class=".c-article-list__link-icon icon icon-push-right"></i>
<span>{{ instance.footer_link_text }}</span>
Expand Down

0 comments on commit 3bf3ff8

Please sign in to comment.