問題タブ [html-templates]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
html - 値に応じてアイコンをhtmlテーブルに渡します
json データを取得し、そこからテーブルを作成しています。One Column は優先度に関するもので、取得した数字をアイコンに置き換えたいと考えています。後でjqueryを使用してhtmlを変更するソリューションを見てきましたが、それは私には正しくないようです。代わりに、テーブルの作成中にアイコンを設定したいと思います。
以下の関連するコード スニペット:
行テンプレート:
レンダリング中:
行テンプレート:
統合したい Atlassian-Icons は、次のようにフォーマットされています。
私はどんな助けにも満足します:D