Skip to content

Commit

Permalink
feat: badges for the project
Browse files Browse the repository at this point in the history
::by sergio giraldo
@ 20240513T2205CEST, gpg signed
  • Loading branch information
sergiorgiraldo committed May 13, 2024
1 parent 502b716 commit 3e5e1ce
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ITERATION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.148
0.0.149
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ https://github.com/users/sergiorgiraldo/projects/3

*status*

![Static Badge](https://img.shields.io/badge/Doing-1-green?style=for-the-badge)

![Static Badge](https://img.shields.io/badge/Backlog-2-red?style=for-the-badge)

![Static Badge](https://img.shields.io/badge/Doing-1-green?style=for-the-badge)

![Static Badge](https://img.shields.io/badge/Prioritized-1-blue?style=for-the-badge)
4 changes: 2 additions & 2 deletions _site/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ <h3 id="project">Project</h3>

<p><a href="https://github.com/users/sergiorgiraldo/projects/3">Follow</a></p>

<p><img src="https://img.shields.io/badge/Doing-1-green?style=for-the-badge" alt="Static Badge" /></p>

<p><img src="https://img.shields.io/badge/Backlog-2-red?style=for-the-badge" alt="Static Badge" /></p>

<p><img src="https://img.shields.io/badge/Doing-1-green?style=for-the-badge" alt="Static Badge" /></p>

<p><img src="https://img.shields.io/badge/Prioritized-1-blue?style=for-the-badge" alt="Static Badge" /></p>

</div><div class="border-t border-porcelain py-4 text-caption">
Expand Down
2 changes: 1 addition & 1 deletion _site/feed.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator><link href="https://sergiorgiraldo.github.io/phd/feed.xml" rel="self" type="application/atom+xml" /><link href="https://sergiorgiraldo.github.io/phd/" rel="alternate" type="text/html" /><updated>2024-05-13T22:01:43+02:00</updated><id>https://sergiorgiraldo.github.io/phd/feed.xml</id><title type="html">PHD SRG.</title><subtitle>Sergio Giraldo, PhD student.</subtitle><author><name>Sergio Giraldo</name></author><entry><title type="html">AI Based Banking Data Analysis with a Design Thinking Approach</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/09/AI-Based-Banking-Data-Analysis-with-a-Design-Think.html" rel="alternate" type="text/html" title="AI Based Banking Data Analysis with a Design Thinking Approach" /><published>2024-05-09T14:54:36+02:00</published><updated>2024-05-09T14:54:36+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/09/AI-Based-Banking-Data-Analysis-with-a-Design-Think</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/09/AI-Based-Banking-Data-Analysis-with-a-Design-Think.html"><![CDATA[]]></content><author><name>Sergio Giraldo</name></author><category term="design-thinking" /><summary type="html"><![CDATA[]]></summary></entry><entry><title type="html">Leiden</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-leiden.html" rel="alternate" type="text/html" title="Leiden" /><published>2024-05-05T22:37:00+02:00</published><updated>2024-05-05T22:37:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/05/uni-leiden</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-leiden.html"><![CDATA[<p><a href="https://www.universiteitleiden.nl/en/science/graduate-school-of-science">Faculty of Science</a></p>]]></content><author><name>Sergio Giraldo</name></author><category term="unis" /><summary type="html"><![CDATA[Faculty of Science]]></summary></entry><entry><title type="html">Erasmus Rotterdam</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-erasmus.html" rel="alternate" type="text/html" title="Erasmus Rotterdam" /><published>2024-05-05T22:34:00+02:00</published><updated>2024-05-05T22:34:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/05/uni-erasmus</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-erasmus.html"><![CDATA[<p>I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.</p>]]></content><author><name>Sergio Giraldo</name></author><category term="unis" /><summary type="html"><![CDATA[I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.]]></summary></entry><entry><title type="html">University of Amsterdam - UvA</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-amsterdam.html" rel="alternate" type="text/html" title="University of Amsterdam - UvA" /><published>2024-05-05T22:28:00+02:00</published><updated>2024-05-05T22:28:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/05/uni-amsterdam</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-amsterdam.html"><![CDATA[<p>I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.</p>]]></content><author><name>Sergio Giraldo</name></author><category term="unis" /><summary type="html"><![CDATA[I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.]]></summary></entry><entry><title type="html">Design Thinking Topics</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/03/homedt.html" rel="alternate" type="text/html" title="Design Thinking Topics" /><published>2024-05-03T17:02:00+02:00</published><updated>2024-05-03T17:02:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/03/homedt</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/03/homedt.html"><![CDATA[<h4 id="2024-05-08">2024-05-08</h4>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator><link href="https://sergiorgiraldo.github.io/phd/feed.xml" rel="self" type="application/atom+xml" /><link href="https://sergiorgiraldo.github.io/phd/" rel="alternate" type="text/html" /><updated>2024-05-13T22:05:41+02:00</updated><id>https://sergiorgiraldo.github.io/phd/feed.xml</id><title type="html">PHD SRG.</title><subtitle>Sergio Giraldo, PhD student.</subtitle><author><name>Sergio Giraldo</name></author><entry><title type="html">AI Based Banking Data Analysis with a Design Thinking Approach</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/09/AI-Based-Banking-Data-Analysis-with-a-Design-Think.html" rel="alternate" type="text/html" title="AI Based Banking Data Analysis with a Design Thinking Approach" /><published>2024-05-09T14:54:36+02:00</published><updated>2024-05-09T14:54:36+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/09/AI-Based-Banking-Data-Analysis-with-a-Design-Think</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/09/AI-Based-Banking-Data-Analysis-with-a-Design-Think.html"><![CDATA[]]></content><author><name>Sergio Giraldo</name></author><category term="design-thinking" /><summary type="html"><![CDATA[]]></summary></entry><entry><title type="html">Leiden</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-leiden.html" rel="alternate" type="text/html" title="Leiden" /><published>2024-05-05T22:37:00+02:00</published><updated>2024-05-05T22:37:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/05/uni-leiden</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-leiden.html"><![CDATA[<p><a href="https://www.universiteitleiden.nl/en/science/graduate-school-of-science">Faculty of Science</a></p>]]></content><author><name>Sergio Giraldo</name></author><category term="unis" /><summary type="html"><![CDATA[Faculty of Science]]></summary></entry><entry><title type="html">Erasmus Rotterdam</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-erasmus.html" rel="alternate" type="text/html" title="Erasmus Rotterdam" /><published>2024-05-05T22:34:00+02:00</published><updated>2024-05-05T22:34:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/05/uni-erasmus</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-erasmus.html"><![CDATA[<p>I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.</p>]]></content><author><name>Sergio Giraldo</name></author><category term="unis" /><summary type="html"><![CDATA[I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.]]></summary></entry><entry><title type="html">University of Amsterdam - UvA</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-amsterdam.html" rel="alternate" type="text/html" title="University of Amsterdam - UvA" /><published>2024-05-05T22:28:00+02:00</published><updated>2024-05-05T22:28:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/05/uni-amsterdam</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-amsterdam.html"><![CDATA[<p>I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.</p>]]></content><author><name>Sergio Giraldo</name></author><category term="unis" /><summary type="html"><![CDATA[I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.]]></summary></entry><entry><title type="html">Design Thinking Topics</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/03/homedt.html" rel="alternate" type="text/html" title="Design Thinking Topics" /><published>2024-05-03T17:02:00+02:00</published><updated>2024-05-03T17:02:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/03/homedt</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/03/homedt.html"><![CDATA[<h4 id="2024-05-08">2024-05-08</h4>

<ul>
<li>
Expand Down
4 changes: 2 additions & 2 deletions docs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ permalink: /about/

[Follow](https://github.com/users/sergiorgiraldo/projects/3)

![Static Badge](https://img.shields.io/badge/Doing-1-green?style=for-the-badge)

![Static Badge](https://img.shields.io/badge/Backlog-2-red?style=for-the-badge)

![Static Badge](https://img.shields.io/badge/Doing-1-green?style=for-the-badge)

![Static Badge](https://img.shields.io/badge/Prioritized-1-blue?style=for-the-badge)
6 changes: 4 additions & 2 deletions queryproject
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,12 @@ if result.returncode == 0:

status_counts[status] = status_counts.get(status, 0) + 1


ordered_statuses = list(statuses)
ordered_statuses.sort()

badges = []

for status in statuses:
for status in ordered_statuses:
if status == "Backlog":
badges.append(f"![Static Badge](https://img.shields.io/badge/{status}-{status_counts[status]}-red?style=for-the-badge)")
if status == "Prioritized":
Expand Down

0 comments on commit 3e5e1ce

Please sign in to comment.