Skip to content

Commit

Permalink
Merge branch '88-design-character-page' into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
Ipstenu committed Oct 22, 2024
2 parents 42bbbad + 1cdbac0 commit 9696c4e
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 9 deletions.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/submit-news-article.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Submit News Article
about: Suggest a news article we're missing
title: "[NEWS] ARTICLE NAME"
labels: content
assignees: ''

---

## Article Information

* Title: [put title here]
* URL: [url]
* Paywall: [Yes/No]

## Additional context

Add any other context we should know about
15 changes: 6 additions & 9 deletions layouts/_default/metabox/actor.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
{{- $thumbnail := .Params.actorimage | default "/img/placeholder.png" -}}

<!-- Excerpt/Details -->

<div class="text-body-secondary">
{{- if $unverified -}}{{- partial "unconfirmed.html" -}}{{- end -}}
<div class="card text-bg-light">
Expand All @@ -50,17 +49,15 @@ <h5 class="card-title text-center">{{ $character }}</h5>
{{- $thumbnail = $image.RelPermalink -}}
{{- end -}}
{{- end -}}

<img src="{{ $thumbnail }}" class="img-thumbnail" alt="{{ $character }}">

<center><img src="{{ $thumbnail }}" class="img-thumbnail" alt="{{ $character }}"></center>
</div>
<ul class="list-group list-group-flush actor-list-group">
{{- if $year -}}<li class="list-group-item">Airdates: {{- $year -}}</li>{{- end -}}
{{- if $genre -}}<li class="list-group-item">Genre: {{- $genre -}}</li>{{- end -}}
{{- if $station -}}<li class="list-group-item">Network: {{- if .Params.website -}}<a href="{{ .Params.website }}" target="_blank">{{- $station -}}</a>{{- else -}}{{- $station -}}{{- end -}}</li>{{- end -}}
{{- if .Params.imdb -}}<li class="list-group-item"><a href="{{ .Params.imdb }}" target="_blank">IMDb</a></li>{{- end -}}
{{- if $year -}}<li class="list-group-item">{{- partial "assets/icon.html" (dict "icon" "fas calendar-day") -}} <strong>Airdates:</strong> {{ $year }}</li>{{- end -}}
{{- if $genre -}}<li class="list-group-item">{{- partial "assets/icon.html" (dict "icon" "fas masks-theater") -}} <strong>Genre:</strong> {{ $genre }}</li>{{- end -}}
{{- if $station -}}<li class="list-group-item">{{- partial "assets/icon.html" (dict "icon" "fas tv") -}} <strong>Network:</strong> {{ if .Params.website }}<a href="{{ .Params.website }}" target="_blank">{{ $station }}</a>{{- else -}}{{ $station }}{{ end }}</li>{{- end -}}
{{- if .Params.imdb -}}<li class="list-group-item"><a href="{{ .Params.imdb }}" target="_blank">{{- partial "assets/icon.html" (dict "icon" "fab imdb") -}} IMDb</a></li>{{- end -}}
{{- if .Params.episodelist -}}<li class="list-group-item">
<a href="/library/recaps/{{- .File.TranslationBaseName -}}/">List of Appearances</a>
<a href="/library/recaps/{{- .File.TranslationBaseName -}}/">{{- partial "assets/icon.html" (dict "icon" "fas table-list") -}} List of Appearances</a>
{{- if or $seasons $episodes}}
<br /><small>(
{{- if $seasons -}}{{ $seasons }} season{{- if gt $seasons "1" -}}s{{- end -}}{{- end -}}
Expand Down

0 comments on commit 9696c4e

Please sign in to comment.